From 71eab1b9ce91bd44e7388d4161a744ee108ab821 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Aug 2005 18:10:37 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20La=20liste=20des=20produits=20n'=E9tait?= =?UTF-8?q?=20pas=20tri=E9es.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index 2130066744e..fd2aa34ca06 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -452,7 +452,7 @@ class Form $sql.= " FROM ".MAIN_DB_PREFIX."product as p "; $sql.= " WHERE p.envente = 1"; if ($filtretype && $filtretype != '') $sql.=" AND p.fk_product_type=".$filtretype; - $sql.= " ORDER BY p.nbvente DESC"; + $sql.= " ORDER BY p.ref"; if ($limit) $sql.= " LIMIT $limit"; $result=$this->db->query($sql);