Fix sort order for currency multi-select
authorDave Greenberg <dave@civicrm.org>
Mon, 12 Aug 2013 00:43:13 +0000 (17:43 -0700)
committerDave Greenberg <dave@civicrm.org>
Mon, 12 Aug 2013 00:43:13 +0000 (17:43 -0700)
CRM/Core/Config/Variables.php

index 5cfca7852b186285914dd1d9e4652688be2e1ae3..0ea6b769ccc3355dbb7cc142abf92a5eb86e8ae7 100644 (file)
@@ -492,7 +492,7 @@ class CRM_Core_Config_Variables extends CRM_Core_Config_Defaults {
       if ($this->defaultCurrency || $defaultCurrency) {
         $this->currencySymbols = CRM_Core_PseudoConstant::get('CRM_Contribute_DAO_Contribution', 'currency', array(
           'labelColumn' => 'symbol',
-          'orderColumn' => FALSE,
+          'orderColumn' => TRUE,
         ));
         $currency = $defaultCurrency ? $defaultCurrency : $this->defaultCurrency;
         $cachedSymbol = CRM_Utils_Array::value($currency, $this->currencySymbols, '');