mirror of https://gitee.com/karson/fastadmin.git
排序功能的bug
parent
307ed3d789
commit
2d4a8a3ec8
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue