mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
대상 문서들을 가져올때 사용되는 document.getDocuments에 navigation 설정이 빠져서 태그 검색등 table join 결과를 이용할때 오류가 발생하는 것을 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4272 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c0ab270e76
commit
d1c6d03c4e
2 changed files with 11 additions and 3 deletions
|
|
@ -111,10 +111,15 @@
|
|||
* @brief 여러개의 문서들을 가져옴 (페이징 아님)
|
||||
**/
|
||||
function getDocuments($document_srls, $is_admin = false) {
|
||||
if(is_array($document_srls)) $document_srls = implode(',',$document_srls);
|
||||
|
||||
// DB에서 가져옴
|
||||
if(is_array($document_srls)) {
|
||||
$list_count = count($document_srls);
|
||||
$document_srls = implode(',',$document_srls);
|
||||
} else {
|
||||
$list_count = 1;
|
||||
}
|
||||
$args->document_srls = $document_srls;
|
||||
$args->list_count = $list_count;
|
||||
|
||||
$output = executeQuery('document.getDocuments', $args);
|
||||
$document_list = $output->data;
|
||||
if(!$document_list) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue