浏览代码

排序功能的bug

LessCodeToDoMore 7 年之前
父节点
当前提交
2d4a8a3ec8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/controller/Ajax.php

+ 1 - 1
application/admin/controller/Ajax.php

@@ -146,7 +146,7 @@ class Ajax extends Backend
         //操作的数据表
         $table = $this->request->post("table");
         //排序的方式
-        $orderway = $this->request->post("orderway", "", "strtolower");
+        $orderway = $this->request->post("orderway", "", 'strtolower');
         $orderway = $orderway == 'asc' ? 'ASC' : 'DESC';
         $sour = $weighdata = [];
         $ids = explode(',', $ids);