Page MenuHomePhabricator

D11086.id26610.diff
No OneTemporary

D11086.id26610.diff

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,18 @@
$ids = ipull($rows, 'id');
- return id(new ManiphestTaskQuery())
+ $query = id(new ManiphestTaskQuery())
->setViewer($this->getRequest()->getUser())
- ->withIDs($ids)
- ->execute();
+ ->needProjectPHIDs(true)
+ ->withIDs($ids);
+
+ switch ($this->view) {
+ case 'project':
+ $query->needProjectPHIDs(true);
+ break;
+ }
+
+ return $query->execute();
}
/**

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 14, 8:20 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7766728
Default Alt Text
D11086.id26610.diff (756 B)

Event Timeline