diff --git a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php index ce51d55820..9e88e4c87b 100644 --- a/src/applications/maniphest/query/ManiphestTaskSearchEngine.php +++ b/src/applications/maniphest/query/ManiphestTaskSearchEngine.php @@ -24,8 +24,14 @@ final class ManiphestTaskSearchEngine '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 index dc4f5528b4..7a09ca0d77 100644 --- a/src/applications/project/controller/PhabricatorProjectProfileController.php +++ b/src/applications/project/controller/PhabricatorProjectProfileController.php @@ -147,8 +147,8 @@ final class PhabricatorProjectProfileController $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;