mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 13:19:56 +09:00
17569286 : displaying new issues in timeline
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5157 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7e7f52713e
commit
49cb4395d4
4 changed files with 27 additions and 4 deletions
|
|
@ -407,13 +407,27 @@
|
|||
}
|
||||
$obj = null;
|
||||
$obj->date = $history->regdate;
|
||||
$obj->type = "i";
|
||||
$obj->type = "changed";
|
||||
$obj->message = $res;
|
||||
$obj->target_srl = $history->target_srl;
|
||||
$obj->author = $history->nick_name;
|
||||
$output->data[] = $obj;
|
||||
}
|
||||
}
|
||||
|
||||
$output2 = executeQueryArray("issuetracker.getDocumentListForChangeset", $args);
|
||||
if(count($output2->data)) {
|
||||
foreach($output2->data as $history)
|
||||
{
|
||||
$obj = null;
|
||||
$obj->date = $history->regdate;
|
||||
$obj->type = "created";
|
||||
$obj->author = $history->nick_name;
|
||||
$obj->target_srl = $history->document_srl;
|
||||
$output->data[] = $obj;
|
||||
}
|
||||
}
|
||||
|
||||
usort($output->data, _compare);
|
||||
|
||||
return $output->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue