Skip to content

Commit

Permalink
default sort should be from A to Z
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Feb 10, 2016
1 parent 2231955 commit 39feb45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/adherents/list.php
Expand Up @@ -57,7 +57,7 @@
$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
Expand Down

0 comments on commit 39feb45

Please sign in to comment.