mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
Owners - sort repositories alphabetically in path chooser
Summary: Fixes T6834. Without this asort() call, repositories are ordered by ID, which is arbitrary to the user. This sorts them alphabetically by callsign. Test Plan: edited a package and saw repos sorted by call sign Reviewers: epriestley, chad Reviewed By: chad Subscribers: Korvin, epriestley Maniphest Tasks: T6834 Differential Revision: https://secure.phabricator.com/D11095
This commit is contained in:
parent
af86a35f6b
commit
1c04532852
1 changed files with 1 additions and 0 deletions
|
@ -145,6 +145,7 @@ final class PhabricatorOwnersEditController
|
|||
}
|
||||
|
||||
$repos = mpull($repos, 'getCallsign', 'getPHID');
|
||||
asort($repos);
|
||||
|
||||
$template = new AphrontTypeaheadTemplateView();
|
||||
$template = $template->render();
|
||||
|
|
Loading…
Reference in a new issue