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