Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14027563
D15334.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
658 B
Referenced Files
None
Subscribers
None
D15334.diff
View Options
diff --git a/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php b/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php
--- a/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php
+++ b/src/applications/spaces/query/PhabricatorSpacesNamespaceQuery.php
@@ -184,6 +184,7 @@
$space_phid) {
$viewer_spaces = self::getViewerSpaces($viewer);
+ $viewer_spaces = msort($viewer_spaces, 'getNamespaceName');
$map = array();
foreach ($viewer_spaces as $space) {
@@ -200,7 +201,6 @@
$space->getMonogram(),
$space->getNamespaceName());
}
- asort($map);
return $map;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 9, 7:55 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6726536
Default Alt Text
D15334.diff (658 B)
Attached To
Mode
D15334: Sort Spaces dropdown by name, not "alphabetical ID"
Attached
Detach File
Event Timeline
Log In to Comment