mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-18 01:42:14 +09:00
게시판의 설정중 제목순 정렬이 documentModel에서 제거하는 문제로 인해 제대로 동작하지 않던 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4097 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a4b6d42c39
commit
b37fd27a15
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@
|
|||
**/
|
||||
function getDocumentList($obj, $except_notice = false) {
|
||||
// 정렬 대상과 순서 체크
|
||||
if(!in_array($obj->sort_index, array('list_order','regdate','last_update','update_order','readed_count','voted_count','comment_count','trackback_count','uploaded_count'))) $obj->sort_index = 'list_order';
|
||||
if(!in_array($obj->sort_index, array('list_order','regdate','last_update','update_order','readed_count','voted_count','comment_count','trackback_count','uploaded_count','title'))) $obj->sort_index = 'list_order';
|
||||
if(!in_array($obj->order_type, array('desc','asc'))) $obj->order_type = 'asc';
|
||||
|
||||
// module_srl 대신 mid가 넘어왔을 경우는 직접 module_srl을 구해줌
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue