Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2695173
D25731.1734825746.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
855 B
Referenced Files
None
Subscribers
None
D25731.1734825746.diff
View Options
diff --git a/src/applications/project/controller/PhabricatorProjectArchiveController.php b/src/applications/project/controller/PhabricatorProjectArchiveController.php
--- a/src/applications/project/controller/PhabricatorProjectArchiveController.php
+++ b/src/applications/project/controller/PhabricatorProjectArchiveController.php
@@ -27,6 +27,12 @@
$new_status = PhabricatorProjectStatus::STATUS_ACTIVE;
} else {
$new_status = PhabricatorProjectStatus::STATUS_ARCHIVED;
+ // When archiving a project, set default menu item to Profile - T15882
+ $engine = id(new PhabricatorProjectProfileMenuEngine())
+ ->setViewer($viewer)
+ ->setController($this)
+ ->setProfileObject($project);
+ $engine->adjustDefault(PhabricatorProject::ITEM_PROFILE);
}
$xactions = array();
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 00:02 (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1025136
Default Alt Text
D25731.1734825746.diff (855 B)
Attached To
Mode
D25731: Set default menu item to Project Details when archiving a project
Attached
Detach File
Event Timeline
Log In to Comment