Jelajahi Sumber

配置列表排序处理

evoxwht 2 tahun lalu
induk
melakukan
3ab4ee9287
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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();
     }
 
     /**