Hi,
When adding a currency (using either hook_commerce_currency_info() or hook_commerce_currency_info_alter()), the currencies are not sorted, and it is surprising at first. I'm suggesting to sort them by currency code.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | commerce_1664166_sort_currencies_by_code_better.patch | 457 bytes | simon georges |
| #1 | commerce_1664166_sort_currencies_by_code.patch | 450 bytes | simon georges |
Comments
Comment #1
simon georges commentedSimple solution, to start the discussion.
Comment #2
simon georges commentedOops, real patch.
Comment #3
artusamakTested and working for me.
Comment #4
rszrama commentedThanks, committed.