Gestion du module de recherche

This commit is contained in:
Rodolphe Quiedeville 2003-08-11 19:13:05 +00:00
parent a29e4721ff
commit 50bc28e75b

View File

@ -42,18 +42,15 @@ if ($action == 'update')
* *
*/ */
if ($page < 0) {
if ($page == -1) { $page = 0 ; }
$page = 0 ;
}
$limit = $conf->liste_limit; $limit = $conf->liste_limit;
$offset = $limit * $page ; $offset = $limit * $page ;
if ($sortfield == "") if ($sortfield == "") {
{ $sortfield="p.tms"; }
$sortfield="p.tms";
}
if ($sortorder == "") if ($sortorder == "")
{ {
$sortorder="DESC"; $sortorder="DESC";