Page MenuHomePhabricator

D15334.diff
No OneTemporary

D15334.diff

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

Mime Type
text/plain
Expires
Mon, Dec 23, 10:44 AM (17 h, 59 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6921156
Default Alt Text
D15334.diff (658 B)

Event Timeline