Merge pull request #3136 from Icinga/bugfix/sort-resources
/config/resource: sort resources by name
This commit is contained in:
commit
02391e648b
|
@ -310,7 +310,10 @@ class ConfigController extends Controller
|
||||||
public function resourceAction()
|
public function resourceAction()
|
||||||
{
|
{
|
||||||
$this->assertPermission('config/application/resources');
|
$this->assertPermission('config/application/resources');
|
||||||
$this->view->resources = Config::app('resources', true);
|
$this->view->resources = Config::app('resources', true)->getConfigObject()
|
||||||
|
->setKeyColumn('name')
|
||||||
|
->select()
|
||||||
|
->order('name');
|
||||||
$this->createApplicationTabs()->activate('resource');
|
$this->createApplicationTabs()->activate('resource');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue