sort the apps by title in admin->applications

This commit is contained in:
Ralf Becker 2003-09-22 11:14:21 +00:00
parent 1433761aa6
commit 3261633231

View File

@ -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)
{