Fix an issue with multiple "open" statuses and the "View All" button on Projects
Summary: See IRC. We construct this a little bit wrong if there are multiple "open" statuses. Use a more modern construction. Test Plan: Hit `?statuses=wontfix,invalid`, etc. Clicked "view all" from projects. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Differential Revision: https://secure.phabricator.com/D8854
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user