mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-21 13:00:56 +01:00
Make differential.find work okayish
Summary: Test Plan: Reviewers: CC:
This commit is contained in:
parent
31abf0dfb5
commit
c69a1aa050
1 changed files with 5 additions and 2 deletions
|
@ -57,11 +57,14 @@ class ConduitAPI_differential_find_Method extends ConduitAPIMethod {
|
|||
->loadRevisions();
|
||||
|
||||
$results = array();
|
||||
foreach ($data->getRevisions() as $revision) {
|
||||
foreach ($revisions as $revision) {
|
||||
$diff = $revision->loadActiveDiff();
|
||||
if (!$diff) {
|
||||
continue;
|
||||
}
|
||||
$results[] = array(
|
||||
'id' => $revision->getID(),
|
||||
'name' => $revision->getName(),
|
||||
'name' => $revision->getTitle(),
|
||||
'statusName' => DifferentialRevisionStatus::getNameForRevisionStatus(
|
||||
$revision->getStatus()),
|
||||
'sourcePath' => $diff->getSourcePath(),
|
||||
|
|
Loading…
Reference in a new issue