mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +01:00
[diffusion] Fix pending differential revisions list
Summary: DifferentialRevisionListView requires setFields to be called before calling getRequiredHandlePHIDs; this adds that call for DiffusionController Test Plan: loaded diffusion and saw the "Pending Differential Revisions" section populated, and no errors in the darkconsole Reviewers: epriestley, btrahan, jungejason Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1665
This commit is contained in:
parent
af295e0b26
commit
07e5591015
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ abstract class DiffusionController extends PhabricatorController {
|
|||
|
||||
$view = id(new DifferentialRevisionListView())
|
||||
->setRevisions($revisions)
|
||||
->setFields(DifferentialRevisionListView::getDefaultFields())
|
||||
->setUser($this->getRequest()->getUser());
|
||||
|
||||
$phids = $view->getRequiredHandlePHIDs();
|
||||
|
|
Loading…
Reference in a new issue