diff --git a/common/models/auto/Auto_brand_model.php b/common/models/auto/Auto_brand_model.php index 8ed54b8e..c74ae6b0 100644 --- a/common/models/auto/Auto_brand_model.php +++ b/common/models/auto/Auto_brand_model.php @@ -47,10 +47,10 @@ class Auto_brand_model extends HD_Model */ public function map_brand($where=array(), $map=true){ if ($map){ - $map_brand = $this->map('id', 'name', $where, 'status desc, id asc', 0 , 0, 'id, name'); + $map_brand = $this->map('id', 'name', $where, 'initial asc', 0 , 0, 'id, name'); } else{ - $map_brand = $this->select($where, "status desc, id asc", 0, 0, 'id, name'); + $map_brand = $this->select($where, "initial asc", 0, 0, 'id, name'); } return $map_brand; }