2
0
forked from Wavyzz/dolibarr

Fix: Tri par dfaut innefectif

This commit is contained in:
Laurent Destailleur
2005-07-15 00:30:05 +00:00
parent 567c7b6294
commit 65bef36bbf

View File

@@ -57,8 +57,8 @@ if ($page == -1) { $page = 0 ; }
$limit = $conf->liste_limit;
$offset = $limit * $page ;
if (! $sortfield) $sortfield="cd.date_ouverture";
if (! $sortorder) $sortorder="DESC";
if (! $sortfield) $sortfield="c.rowid";
if (! $sortorder) $sortorder="ASC";
$sql = "SELECT s.nom, c.rowid as cid, s.idp as sidp, cd.rowid, cd.label, cd.statut, p.rowid as pid,";