1
0
Fork 0
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:
Fabian Stelzer 2014-12-30 07:00:52 -08:00 committed by epriestley
parent d095276403
commit b642359eb6

View file

@ -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();
}
/**