From 01a95a8e02a7bf9f4cc82ce2b4ab08d707b460df Mon Sep 17 00:00:00 2001 From: zero Date: Thu, 7 Aug 2008 03:11:57 +0000 Subject: [PATCH] =?UTF-8?q?=EA=B2=8C=EC=8B=9C=ED=8C=90=EC=9D=98=20?= =?UTF-8?q?=EB=93=B1=EB=A1=9D=EC=9D=BC/=EC=B5=9C=EA=B7=BC=EC=88=98?= =?UTF-8?q?=EC=A0=95=EC=9D=BC=20=EC=A0=95=EB=A0=AC=EB=A1=9C=20=EC=84=A4?= =?UTF-8?q?=EC=A0=95=EB=90=98=EC=97=88=EC=9D=84=20=EA=B2=BD=EC=9A=B0=20?= =?UTF-8?q?=EC=84=A0=ED=83=9D=EB=90=9C=20=EA=B8=80=EC=9D=98=20=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EA=B0=80=20=EC=97=89=EB=9A=B1=ED=95=98?= =?UTF-8?q?=EA=B2=8C=20=EA=B3=84=EC=82=B0=EB=90=98=EB=8A=94=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4443 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/document/document.model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/document/document.model.php b/modules/document/document.model.php index 549edc0ab..cbcb1a390 100644 --- a/modules/document/document.model.php +++ b/modules/document/document.model.php @@ -416,11 +416,11 @@ // 정렬 형식에 따라서 query args 변경 switch($opt->sort_index) { case 'update_order' : - if($opt->order_type == 'desc') $args->rev_update_order = $oDocument->get('update_order'); + if($opt->order_type == 'asc') $args->rev_update_order = $oDocument->get('update_order'); else $args->update_order = $oDocument->get('update_order'); break; case 'regdate' : - if($opt->order_type == 'desc') $args->rev_regdate = $oDocument->get('regdate'); + if($opt->order_type == 'asc') $args->rev_regdate = $oDocument->get('regdate'); else $args->regdate = $oDocument->get('regdate'); break; case 'voted_count' :