diff --git a/src/applications/home/controller/PhabricatorHomeMainController.php b/src/applications/home/controller/PhabricatorHomeMainController.php index 01f3644353..2b30770253 100644 --- a/src/applications/home/controller/PhabricatorHomeMainController.php +++ b/src/applications/home/controller/PhabricatorHomeMainController.php @@ -148,8 +148,7 @@ final class PhabricatorHomeMainController extends PhabricatorHomeController { } $href = urisprintf( - '/maniphest/?statuses=%s&priorities=%s#R', - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), + '/maniphest/?statuses=open()&priorities=%s#R', $unbreak_now); $title = pht('Unbreak Now!'); $panel = new PHUIObjectBoxView(); @@ -199,8 +198,7 @@ final class PhabricatorHomeMainController extends PhabricatorHomeController { $title = pht('Needs Triage'); $href = urisprintf( - '/maniphest/?statuses=%s&priorities=%s&userProjects=%s#R', - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), + '/maniphest/?statuses=open()&priorities=%s&projects=projects(%s)#R', $needs_triage, $user->getPHID()); $panel = new PHUIObjectBoxView(); @@ -290,7 +288,7 @@ final class PhabricatorHomeMainController extends PhabricatorHomeController { } $title = pht('Assigned Tasks'); - $href = '/maniphest'; + $href = '/maniphest/query/assigned/'; $panel = new PHUIObjectBoxView(); $panel->setHeader($this->renderSectionHeader($title, $href)); $panel->appendChild($this->buildTaskListView($tasks)); diff --git a/src/applications/maniphest/controller/ManiphestReportController.php b/src/applications/maniphest/controller/ManiphestReportController.php index e29697ab7e..3c6eca0542 100644 --- a/src/applications/maniphest/controller/ManiphestReportController.php +++ b/src/applications/maniphest/controller/ManiphestReportController.php @@ -465,7 +465,7 @@ final class ManiphestReportController extends ManiphestController { } } - $base_link = '/maniphest/?allProjects='; + $base_link = '/maniphest/?projects='; $leftover_name = phutil_tag('em', array(), pht('(No Project)')); $col_header = pht('Project'); $header = pht('Open Tasks by Project and Priority (%s)', $date); diff --git a/src/applications/people/controller/PhabricatorPeopleController.php b/src/applications/people/controller/PhabricatorPeopleController.php index 3f33808065..5b06364bbd 100644 --- a/src/applications/people/controller/PhabricatorPeopleController.php +++ b/src/applications/people/controller/PhabricatorPeopleController.php @@ -70,8 +70,7 @@ abstract class PhabricatorPeopleController extends PhabricatorController { if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) { $phid = $user->getPHID(); $view_uri = sprintf( - '/maniphest/?statuses=%s&assigned=%s#R', - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), + '/maniphest/?statuses=open()&assigned=%s#R', $phid); $nav->addIcon( 'maniphest', pht('Open Tasks'), 'fa-anchor', null, $view_uri); diff --git a/src/applications/project/controller/PhabricatorProjectController.php b/src/applications/project/controller/PhabricatorProjectController.php index 03c8461470..a6901a7222 100644 --- a/src/applications/project/controller/PhabricatorProjectController.php +++ b/src/applications/project/controller/PhabricatorProjectController.php @@ -76,9 +76,8 @@ abstract class PhabricatorProjectController extends PhabricatorController { if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) { $phid = $project->getPHID(); $query_uri = urisprintf( - '/maniphest/?statuses=%s&allProjects=%s#R', - implode(',', ManiphestTaskStatus::getOpenStatusConstants()), - $phid); + '/maniphest/?statuses=open()&projects=%s#R', + $phid); $nav->addIcon(null, pht('Open Tasks'), 'fa-anchor', null, $query_uri); }