diff --git a/src/applications/project/controller/PhabricatorProjectBoardViewController.php b/src/applications/project/controller/PhabricatorProjectBoardViewController.php --- a/src/applications/project/controller/PhabricatorProjectBoardViewController.php +++ b/src/applications/project/controller/PhabricatorProjectBoardViewController.php @@ -5,7 +5,6 @@ const BATCH_EDIT_ALL = 'all'; - private $id; private $queryKey; private $sortKey; private $showHidden; @@ -284,7 +283,7 @@ $query_key = $saved_query->getQueryKey(); $bulk_uri = new PhutilURI("/maniphest/bulk/query/{$query_key}/"); - $bulk_uri->replaceQueryParam('board', $this->id); + $bulk_uri->replaceQueryParam('board', $project->getID()); return id(new AphrontRedirectResponse()) ->setURI($bulk_uri); @@ -781,7 +780,6 @@ $project = $this->getProject(); $this->showHidden = $request->getBool('hidden'); - $this->id = $project->getID(); $sort_key = $this->getDefaultSort($project); @@ -931,7 +929,7 @@ if ($is_custom) { $uri = $this->getApplicationURI( - 'board/'.$this->id.'/filter/query/'.$key.'/'); + 'board/'.$project->getID().'/filter/query/'.$key.'/'); $item->setWorkflow(true); } else { $uri = $engine->getQueryResultsPageURI($key); @@ -1179,7 +1177,7 @@ ->setIcon('fa-search') ->setHref($query_uri); - $edit_uri = 'board/'.$this->id.'/edit/'.$column->getID().'/'; + $edit_uri = 'board/'.$project->getID().'/edit/'.$column->getID().'/'; $column_items[] = id(new PhabricatorActionView()) ->setName(pht('Edit Column')) ->setIcon('fa-pencil') @@ -1188,7 +1186,7 @@ ->setWorkflow(true); $can_hide = ($can_edit && !$column->isDefaultColumn()); - $hide_uri = 'board/'.$this->id.'/hide/'.$column->getID().'/'; + $hide_uri = 'board/'.$project->getID().'/hide/'.$column->getID().'/'; $hide_uri = $this->getApplicationURI($hide_uri); $hide_uri = $this->getURIWithState($hide_uri);