用了下yourphp系统,发现管理端的排序功能无效。
按如下方法修改,就有效了。
在 yourphp/lib/action/baseaction 的223行下面添加:
if ($module == 'Product') {
$list = $this->dao->field($field)->where($where)->order('listorder asc')->limit($page->firstRow . ',' . $page->listRows)->select();
}