issuetracker의 최근 변경사항 가져올때 개수를 정할 수 있도록 설정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6572 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-06-17 05:56:13 +00:00
parent fa5bcde913
commit e8dbc31bc6
2 changed files with 3 additions and 1 deletions

View file

@ -384,7 +384,7 @@
}
function getChangesets($module_srl, $enddate = null, $limit = 10, $targets)
function getChangesets($module_srl, $enddate = null, $limit = 10, $targets, $list_count = 0)
{
if(!$enddate)
{
@ -393,6 +393,7 @@
$args->enddate = date("Ymd", ztime($enddate)+24*60*60);
$args->startdate = date("Ymd", ztime($enddate)-24*60*60*$limit);
$args->module_srl = $module_srl;
if($list_count) $args->list_count = $list_count;
if(in_array('commit', $targets))
{
$output = executeQueryArray("issuetracker.getChangesets", $args);

View file

@ -12,5 +12,6 @@
</conditions>
<navigation>
<index var="sort_index" default="revision" order="desc" />
<list_count var="list_count" default="9999999" />
</navigation>
</query>