mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Update various hard-coded URIs
Summary: Fixes T7918. Update hard-coded ApplicationSearch URIs for parameterized typeaheads. Test Plan: Found all these links and clicked 'em. Probably. Reviewers: btrahan, chad Reviewed By: chad Subscribers: epriestley Maniphest Tasks: T7918 Differential Revision: https://secure.phabricator.com/D12554
This commit is contained in:
parent
0ae08b394c
commit
be14f75274
4 changed files with 7 additions and 11 deletions
|
@ -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));
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue