diff --git a/src/applications/maniphest/controller/ManiphestReportController.php b/src/applications/maniphest/controller/ManiphestReportController.php --- a/src/applications/maniphest/controller/ManiphestReportController.php +++ b/src/applications/maniphest/controller/ManiphestReportController.php @@ -700,10 +700,17 @@ $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(); } /**