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:
haneul 2008-12-22 18:06:42 +00:00
parent 7e7f52713e
commit 49cb4395d4
4 changed files with 27 additions and 4 deletions

View file

@ -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;