Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15382484
D20627.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D20627.diff
View Options
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);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 15, 12:37 PM (1 w, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7223167
Default Alt Text
D20627.diff (2 KB)
Attached To
Mode
D20627: Remove property "id" from Workboard View controller
Attached
Detach File
Event Timeline
Log In to Comment