mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
fix pagination
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8767 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bc41314af2
commit
aa694bce26
4 changed files with 235 additions and 66 deletions
|
|
@ -723,7 +723,11 @@
|
|||
$from = ' FROM '.$from;
|
||||
|
||||
$where = $query->getWhereString($with_values);
|
||||
if($where != '') $where = ' WHERE ' . $where;
|
||||
if($where != ''){
|
||||
$where = ' WHERE ' . $where;
|
||||
if(strstr($where,'list_order')) $where .= ' and list_order < 2100000000 ';
|
||||
if(strstr($where,'update_order')) $where .= ' and update_order < 2100000000 ';
|
||||
}
|
||||
|
||||
$groupBy = $query->getGroupByString();
|
||||
if($groupBy != '') $groupBy = ' GROUP BY ' . $groupBy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue