Commit 47464a1e authored by Evan Priestley's avatar Evan Priestley Committed by Ana Rute Mendes
Browse files

LOCAL/UI: PHUIHandleTagListView: Sort alphabetically

Sort tags alphabetically, rather than order of (PHID) appearance in the
database.

From https://secure.phabricator.com/p/epriestley at:
https://secure.phabricator.com/T11420#188498
parent 53e17bb0
...@@ -73,6 +73,7 @@ final class PHUIHandleTagListView extends AphrontTagView { ...@@ -73,6 +73,7 @@ final class PHUIHandleTagListView extends AphrontTagView {
} else { } else {
$visible = $handles; $visible = $handles;
} }
$visible = msort($handles, 'getName');
$list = array(); $list = array();
foreach ($visible as $handle) { foreach ($visible as $handle) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment