2
0
forked from Wavyzz/dolibarr

Clean sortfield, sortorder

This commit is contained in:
Laurent Destailleur
2022-01-13 11:09:37 +01:00
parent f51720879b
commit 13510b9929
171 changed files with 337 additions and 337 deletions

View File

@@ -47,8 +47,8 @@ $ref = GETPOST('ref');
// Get parameters
$limit = GETPOST('limit', 'int') ? GETPOST('limit', 'int') : $conf->liste_limit;
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');
$sortfield = GETPOST('sortfield', 'aZ09comma');
$sortorder = GETPOST('sortorder', 'aZ09comma');
$page = GETPOSTISSET('pageplusone') ? (GETPOST('pageplusone') - 1) : GETPOST("page", 'int');
if (empty($page) || $page == -1) {
$page = 0;