소스 검색

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl 1 년 전
부모
커밋
f23b785995
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      common/models/Currency.php

+ 1 - 1
common/models/Currency.php

@@ -74,7 +74,7 @@ class Currency extends \common\components\ActiveRecord
      */
      */
     public static function getAllData()
     public static function getAllData()
     {
     {
-        return static::find()->where('1=1')->orderBy('ACTIVE DESC, ID ASC')->asArray()->all();
+        return static::find()->where('1=1')->orderBy('ACTIVE DESC, NAME ASC')->asArray()->all();
     }
     }
 
 
     /**
     /**