Fix: Sort criteria
This commit is contained in:
parent
118ae7e8f8
commit
03d19bf77f
@ -43,8 +43,8 @@ if ($page == -1) { $page = 0; }
|
||||
$offset = $conf->liste_limit * $page;
|
||||
$pageprev = $page - 1;
|
||||
$pagenext = $page + 1;
|
||||
if (! $sortfield) $sortfield="p.titre";
|
||||
if (! $sortorder) $sortorder="ASC";
|
||||
if (! $sortfield) $sortfield="p.date_fin";
|
||||
if (! $sortorder) $sortorder="DESC";
|
||||
if ($page < 0) {
|
||||
$page = 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user