1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +01:00

Sort options by key on "all config"

Summary: Oops, missed this -- alphabetical is probably a better sort order than by-group-then-by-definition.

Test Plan: Looked at alphabetical options.

Reviewers: codeblock, btrahan

Reviewed By: codeblock

CC: aran

Maniphest Tasks: T2255

Differential Revision: https://secure.phabricator.com/D4474
This commit is contained in:
epriestley 2013-01-16 11:39:13 -08:00
parent 6e69523efc
commit e3cfcc4a46

View file

@ -9,6 +9,7 @@ final class PhabricatorConfigAllController
$rows = array(); $rows = array();
$options = PhabricatorApplicationConfigOptions::loadAllOptions(); $options = PhabricatorApplicationConfigOptions::loadAllOptions();
ksort($options);
foreach ($options as $option) { foreach ($options as $option) {
$key = $option->getKey(); $key = $option->getKey();