Page MenuHomePhabricator

D8854.diff
No OneTemporary

D8854.diff

diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
--- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
+++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php
@@ -24,8 +24,14 @@
'subscriberPHIDs',
$this->readPHIDsFromRequest($request, 'subscribers'));
- $saved->setParameter('statuses', $request->getArr('statuses'));
- $saved->setParameter('priorities', $request->getArr('priorities'));
+ $saved->setParameter(
+ 'statuses',
+ $this->readListFromRequest($request, 'statuses'));
+
+ $saved->setParameter(
+ 'priorities',
+ $this->readListFromRequest($request, 'priorities'));
+
$saved->setParameter('group', $request->getStr('group'));
$saved->setParameter('order', $request->getStr('order'));
diff --git a/src/applications/project/controller/PhabricatorProjectProfileController.php b/src/applications/project/controller/PhabricatorProjectProfileController.php
--- a/src/applications/project/controller/PhabricatorProjectProfileController.php
+++ b/src/applications/project/controller/PhabricatorProjectProfileController.php
@@ -147,8 +147,8 @@
$task_list->setHandles($handles);
$phid = $project->getPHID();
- $view_uri = sprintf(
- '/maniphest/?statuses[]=%s&allProjects[]=%s#R',
+ $view_uri = urisprintf(
+ '/maniphest/?statuses=%s&allProjects[]=%s#R',
implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
$phid);
$create_uri = '/maniphest/task/create/?projects='.$phid;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 12:10 PM (4 d, 9 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6723597
Default Alt Text
D8854.diff (1 KB)

Event Timeline