mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
add missing needprojectphids for project reports
Summary: Adds a missing needProjectPHIDs called in the project reports. Fixes T6833 Test Plan: visited all task reports Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley Maniphest Tasks: T6833 Differential Revision: https://secure.phabricator.com/D11086
This commit is contained in:
parent
d095276403
commit
b642359eb6
1 changed files with 10 additions and 3 deletions
|
@ -700,10 +700,17 @@ final class ManiphestReportController extends ManiphestController {
|
|||
|
||||
$ids = ipull($rows, 'id');
|
||||
|
||||
return id(new ManiphestTaskQuery())
|
||||
$query = id(new ManiphestTaskQuery())
|
||||
->setViewer($this->getRequest()->getUser())
|
||||
->withIDs($ids)
|
||||
->execute();
|
||||
->withIDs($ids);
|
||||
|
||||
switch ($this->view) {
|
||||
case 'project':
|
||||
$query->needProjectPHIDs(true);
|
||||
break;
|
||||
}
|
||||
|
||||
return $query->execute();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue