mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
게시판의 등록일/최근수정일 정렬로 설정되었을 경우 선택된 글의 페이지가 엉뚱하게 계산되는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4443 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e43f8dff9f
commit
01a95a8e02
1 changed files with 2 additions and 2 deletions
|
|
@ -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' :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue