Compare commits

..

2 Commits

Author SHA1 Message Date
Simon Vieille acdd299573 release v1.8.3 2020-08-20 16:29:41 +02:00
Simon Vieille fae21390dd fix #26: alphabetic order of apps 2020-08-20 16:27:35 +02:00
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ You can report a bug or request a feature by opening an issue.
]]></description>
<licence>agpl</licence>
<author mail="contact@deblan.fr" homepage="https://www.deblan.io/">Simon Vieille</author>
<version>1.8.2</version>
<version>1.8.3</version>
<namespace>SideMenu</namespace>
<category>customization</category>
<website>https://gitnet.fr/deblan/side_menu</website>
+3 -1
View File
@@ -191,7 +191,9 @@ class NavController extends Controller
if (empty($items[$category]['apps'])) {
unset($items[$category]);
} else {
ksort($items[$category]['apps']);
uasort($items[$category]['apps'], function ($a, $b) {
return ($a['name'] < $b['name']) ? -1 : 1;
});
}
}