From 281bb5427c262191a5aac6f98716df925dcfb1d1 Mon Sep 17 00:00:00 2001 From: thisgun Date: Thu, 7 Jul 2022 10:04:40 +0900 Subject: [PATCH] =?UTF-8?q?=EC=98=81=EC=B9=B4=ED=8A=B8=20=EC=83=81?= =?UTF-8?q?=ED=92=88=EB=A6=AC=EC=8A=A4=ED=8A=B8=20sort=20=ED=82=A4?= =?UTF-8?q?=EC=97=90=20it=5Fname=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shop/listtype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shop/listtype.php b/shop/listtype.php index d0e9fe55c..21aea7de7 100644 --- a/shop/listtype.php +++ b/shop/listtype.php @@ -2,7 +2,7 @@ include_once('./_common.php'); // 상품 리스트에서 다른 필드로 정렬을 하려면 아래의 배열 코드에서 해당 필드를 추가하세요. -$sort = (isset($_REQUEST['sort']) && in_array($_REQUEST['sort'], array('it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time'))) ? $_REQUEST['sort'] : ''; +$sort = (isset($_REQUEST['sort']) && in_array($_REQUEST['sort'], array('it_name', 'it_sum_qty', 'it_price', 'it_use_avg', 'it_use_cnt', 'it_update_time'))) ? $_REQUEST['sort'] : ''; $type = isset($_REQUEST['type']) ? preg_replace("/[\<\>\'\"\\\'\\\"\%\=\(\)\s]/", "", $_REQUEST['type']) : ''; if (G5_IS_MOBILE) {