Sorting the Config results by Type (boolean, string, etc)
This commit is contained in:
parent
819f1b48d6
commit
6faa248248
|
@ -11,7 +11,7 @@
|
|||
foreach ($categories as $category) {
|
||||
$name = $category['Config']['Category'];
|
||||
$configs = $this->Config->findAllByCategory($name,
|
||||
array('Name', 'Id', 'Value', 'Prompt', 'Type', 'Category'));
|
||||
array('Name', 'Id', 'Value', 'Prompt', 'Type', 'Category'), 'Type');
|
||||
$options[$name] = $configs;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue