diff --git a/htdocs/boutique/livre/vignettes.php b/htdocs/boutique/livre/vignettes.php index f649b39d4ad..18cc440f9e2 100644 --- a/htdocs/boutique/livre/vignettes.php +++ b/htdocs/boutique/livre/vignettes.php @@ -27,7 +27,7 @@ llxHeader(); $db = new Db(); if ($sortfield == "") { - $sortfield="lower(l.title)"; + $sortfield="lower(l.ref)"; } if ($sortorder == "") { @@ -55,7 +55,7 @@ if ($searchvalue) } $sql .= " ORDER BY $sortfield $sortorder "; -$sql .= $db->plimit( $limit ,$offset); +//$sql .= $db->plimit( $limit ,$offset); if ( $db->query($sql) ) {