mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
sort the apps by title in admin->applications
This commit is contained in:
parent
1433761aa6
commit
3261633231
@ -59,14 +59,7 @@
|
||||
|
||||
$sort = $sort ? $sort : 'ASC';
|
||||
|
||||
if($sort == 'ASC')
|
||||
{
|
||||
ksort($apps);
|
||||
}
|
||||
else
|
||||
{
|
||||
krsort($apps);
|
||||
}
|
||||
uasort($apps,create_function('$a,$b','return strcasecmp($a[\'title\'],$b[\'title\'])'.($sort != 'ASC' ? '* -1' : '').';'));
|
||||
|
||||
if ($start && $offset)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user