Sorting the Config results by Type (boolean, string, etc)

This commit is contained in:
Kyle Johnson 2013-06-21 22:19:27 -04:00
parent 819f1b48d6
commit 6faa248248
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}