Skip to content
Snippets Groups Projects
Commit f1c9a6fe authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Merge pull request #4594 from grandoc/3.9

default sort should be from A to Z
parents 0c4d44a8 39feb457
Branches
Tags
No related merge requests found
......@@ -57,7 +57,7 @@ if ($page == -1) { $page = 0; }
$offset = $conf->liste_limit * $page ;
$pageprev = $page - 1;
$pagenext = $page + 1;
if (! $sortorder) { $sortorder=($filter=='outofdate'?"ASC":"DESC"); }
if (! $sortorder) { $sortorder=($filter=='outofdate'?"DESC":"ASC"); }
if (! $sortfield) { $sortfield=($filter=='outofdate'?"d.datefin":"d.lastname"); }
if (GETPOST("button_removefilter_x") || GETPOST("button_removefilter")) // Both test are required to be compatible with all browsers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment