From 7f6e45fd1e10ac306331707918a2fc1426886f98 Mon Sep 17 00:00:00 2001 From: chicpro Date: Fri, 2 Aug 2013 17:50:38 +0900 Subject: [PATCH] =?UTF-8?q?sql=5Forder=20=EB=B9=A0=EC=A7=84=20=EA=B2=83=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/shop.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 907a2b9a3..6c486b69e 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -299,7 +299,7 @@ class item_list $sql_where = " where " . implode(" and ", $where); $sql_limit = " limit " . $this->from_record . " , " . ($this->list_mod * $this->list_row); - $sql = $sql_select . $sql_common . $sql_where . $sql_limit; + $sql = $sql_select . $sql_common . $sql_where . $sql_order . $sql_limit; $result = sql_query($sql); if ($this->is_page) {