mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +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 여러개의 문서들을 가져옴 (페이징 아님)
|
* @brief 여러개의 문서들을 가져옴 (페이징 아님)
|
||||||
**/
|
**/
|
||||||
function getDocuments($document_srls, $is_admin = false) {
|
function getDocuments($document_srls, $is_admin = false) {
|
||||||
if(is_array($document_srls)) $document_srls = implode(',',$document_srls);
|
if(is_array($document_srls)) {
|
||||||
|
$list_count = count($document_srls);
|
||||||
// DB에서 가져옴
|
$document_srls = implode(',',$document_srls);
|
||||||
|
} else {
|
||||||
|
$list_count = 1;
|
||||||
|
}
|
||||||
$args->document_srls = $document_srls;
|
$args->document_srls = $document_srls;
|
||||||
|
$args->list_count = $list_count;
|
||||||
|
|
||||||
$output = executeQuery('document.getDocuments', $args);
|
$output = executeQuery('document.getDocuments', $args);
|
||||||
$document_list = $output->data;
|
$document_list = $output->data;
|
||||||
if(!$document_list) return;
|
if(!$document_list) return;
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,8 @@
|
||||||
</conditions>
|
</conditions>
|
||||||
<navigation>
|
<navigation>
|
||||||
<index var="list_order" default="list_order" order="asc" />
|
<index var="list_order" default="list_order" order="asc" />
|
||||||
|
<list_count var="list_count" default="20" />
|
||||||
|
<page_count var="page_count" default="10" />
|
||||||
|
<page var="page" default="1" />
|
||||||
</navigation>
|
</navigation>
|
||||||
</query>
|
</query>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue