Commit 67ca9cc8 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:ambulance: fix(applications): Sort applications in the dropdown

This sorts applications in the dropdown allowing to add them to the list
 of allowed applications for a role

closes #5176
Showing with 1 addition and 0 deletions
+1 -0
......@@ -61,6 +61,7 @@ class applicationRights extends simplePlugin
$apps = objects::ls('application');
$apps = array_merge($apps, objects::ls('webApplication'));
asort($apps);
$this->attributesAccess['fdApplicationAllowed']->attribute->setChoices(
array_keys($apps),
array_values($apps)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment