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'; $sort = $sort ? $sort : 'ASC';
if($sort == 'ASC') uasort($apps,create_function('$a,$b','return strcasecmp($a[\'title\'],$b[\'title\'])'.($sort != 'ASC' ? '* -1' : '').';'));
{
ksort($apps);
}
else
{
krsort($apps);
}
if ($start && $offset) if ($start && $offset)
{ {