Procházet zdrojové kódy

配置列表排序处理

evoxwht před 2 roky
rodič
revize
3ab4ee9287
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      crmeb/app/dao/system/config/SystemConfigDao.php

+ 1 - 1
crmeb/app/dao/system/config/SystemConfigDao.php

@@ -84,7 +84,7 @@ class SystemConfigDao extends BaseDao
     {
         $where['tab_id'] = $tabId;
         if ($status == 1) $where['status'] = $status;
-        return $this->search($where)->order('sort desc,id DESC')->select()->toArray();
+        return $this->search($where)->order('sort desc,id ASC')->select()->toArray();
     }
 
     /**