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:
epriestley
2015-04-26 07:15:25 -07:00
parent 0ae08b394c
commit be14f75274
4 changed files with 7 additions and 11 deletions

View File

@@ -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));