mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Fix for D6260
Summary: Fixes a query in √D6260. Test Plan: View a Releeph RQ and verify that the "churn" field renders and has the right numbers in it. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D6702
This commit is contained in:
parent
f6e22a1ec0
commit
bca9dfa10e
1 changed files with 2 additions and 3 deletions
|
@ -19,10 +19,9 @@ final class ReleephDiffChurnFieldSpecification
|
||||||
}
|
}
|
||||||
|
|
||||||
$diff_rev = $this->getReleephRequest()->loadDifferentialRevision();
|
$diff_rev = $this->getReleephRequest()->loadDifferentialRevision();
|
||||||
$comments = id(new DifferentialRevisionQuery())
|
$comments = id(new DifferentialCommentQuery())
|
||||||
->setViewer($this->getUser())
|
|
||||||
->withRevisionIDs(array($diff_rev->getID()))
|
->withRevisionIDs(array($diff_rev->getID()))
|
||||||
->excute();
|
->execute();
|
||||||
|
|
||||||
$counts = array();
|
$counts = array();
|
||||||
foreach ($comments as $comment) {
|
foreach ($comments as $comment) {
|
||||||
|
|
Loading…
Reference in a new issue