mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 22:33:10 +09:00
restore 기능 추가, history list 정렬 및 페이징 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6224 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ba309f290b
commit
108d5a2175
9 changed files with 47 additions and 6 deletions
|
|
@ -913,11 +913,13 @@
|
|||
else return $output->data->document_srl;
|
||||
}
|
||||
|
||||
function getHistories($document_srl)
|
||||
function getHistories($document_srl, $list_count, $page)
|
||||
{
|
||||
$args->list_count = $list_count;
|
||||
$args->page = $page;
|
||||
$args->document_srl = $document_srl;
|
||||
$output = executeQueryArray('document.getHistories', $args);
|
||||
return $output->data;
|
||||
return $output;
|
||||
}
|
||||
|
||||
function getHistory($history_srl)
|
||||
|
|
|
|||
|
|
@ -8,4 +8,10 @@
|
|||
<conditions>
|
||||
<condition operation="equal" column="document_srl" var="document_srl" filter="number" notnull="notnull" />
|
||||
</conditions>
|
||||
<navigation>
|
||||
<index var="sort_index" default="history_srl" order="desc" />
|
||||
<list_count var="list_count" default="20" />
|
||||
<page_count var="page_count" default="10" />
|
||||
<page var="page" default="1" />
|
||||
</navigation>
|
||||
</query>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue