Fix Maniphest links w.r.t. new "status" data format
Summary: 0 => imploded string of hotness. Fixes T4689 Test Plan: for each spot i fixed, clicked link and it worked! (I did a grep for "/maniphest" to find these spots; 98% confident I got them all.) Reviewers: epriestley Reviewed By: epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T4689 Differential Revision: https://secure.phabricator.com/D8626
This commit is contained in:
@@ -147,7 +147,10 @@ final class PhabricatorProjectProfileController
|
||||
$task_list->setHandles($handles);
|
||||
|
||||
$phid = $project->getPHID();
|
||||
$view_uri = '/maniphest/?statuses[]=0&allProjects[]='.$phid.'#R';
|
||||
$view_uri = sprintf(
|
||||
'/maniphest/?statuses[]=%s&allProjects[]=%s#R',
|
||||
implode(',', ManiphestTaskStatus::getOpenStatusConstants()),
|
||||
$phid);
|
||||
$create_uri = '/maniphest/task/create/?projects='.$phid;
|
||||
$icon = id(new PHUIIconView())
|
||||
->setSpriteSheet(PHUIIconView::SPRITE_ICONS)
|
||||
|
||||
Reference in New Issue
Block a user