From b23ca3a0cb2fb2f1783f52e79aab876dfe93a743 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 27 May 2006 10:54:37 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20fl=E8ches=20d'ordonnancement=20des=20pr?= =?UTF-8?q?oduits=20sur=20les=20commandes=20et=20les=20propales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/propal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index cd2a5fc403c..58fd6a28f85 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -846,7 +846,7 @@ if ($_GET['propalid'] > 0) $sql.= ' FROM '.MAIN_DB_PREFIX.'propaldet as pt'; $sql.= ' LEFT JOIN '.MAIN_DB_PREFIX.'product as p ON pt.fk_product=p.rowid'; $sql.= ' WHERE pt.fk_propal = '.$propal->id; - $sql.= ' ORDER BY pt.rowid ASC'; + $sql.= ' ORDER BY pt.rang ASC, pt.rowid'; $resql = $db->query($sql); if ($resql) {