Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2867671
D25731.1736648543.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.1736648543.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, Jan 12, 02:22 (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1111749
Default Alt Text
D25731.1736648543.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