mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-22 11:39:03 +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');
|
$ids = ipull($rows, 'id');
|
||||||
|
|
||||||
return id(new ManiphestTaskQuery())
|
$query = id(new ManiphestTaskQuery())
|
||||||
->setViewer($this->getRequest()->getUser())
|
->setViewer($this->getRequest()->getUser())
|
||||||
->withIDs($ids)
|
->withIDs($ids);
|
||||||
->execute();
|
|
||||||
|
switch ($this->view) {
|
||||||
|
case 'project':
|
||||||
|
$query->needProjectPHIDs(true);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return $query->execute();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue