evoxwht 2 лет назад
Родитель
Сommit
3ab4ee9287
1 измененных файлов с 1 добавлено и 1 удалено
  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();
     }
 
     /**