Page MenuHomePhabricator

D11086.diff
No OneTemporary

D11086.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,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();
}
/**

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 16, 1:10 AM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7522412
Default Alt Text
D11086.diff (724 B)

Event Timeline