Fix default order
This commit is contained in:
parent
319eac2c45
commit
396d1411e5
@ -101,7 +101,7 @@ if (!$sortorder) {
|
|||||||
$sortorder = "DESC";
|
$sortorder = "DESC";
|
||||||
}
|
}
|
||||||
if (!$sortfield) {
|
if (!$sortfield) {
|
||||||
$sortfield = "cp.rowid";
|
$sortfield = "cp.ref";
|
||||||
}
|
}
|
||||||
|
|
||||||
$sall = trim((GETPOST('search_all', 'alphanohtml') != '') ?GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml'));
|
$sall = trim((GETPOST('search_all', 'alphanohtml') != '') ?GETPOST('search_all', 'alphanohtml') : GETPOST('sall', 'alphanohtml'));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user