Fix default sort order
This commit is contained in:
parent
28b3cfe37f
commit
3e2f9f4867
@ -50,7 +50,7 @@ $offset = $limit * $page;
|
||||
$pageprev = $page - 1;
|
||||
$pagenext = $page + 1;
|
||||
if (!$sortfield) {
|
||||
$sortfield = 'position';
|
||||
$sortfield = 'b.position';
|
||||
}
|
||||
if (!$sortorder) {
|
||||
$sortorder = 'ASC';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user