Fix for Bug 5526, List of lists should be in alphabetical order by list name

Signed-off-by: Liz Rea <lrea@nekls.org>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Owen Leonard 2010-12-20 09:56:11 -06:00 committed by Chris Cormack
parent 79fb4a8134
commit cdbf872bd5

View file

@ -116,9 +116,9 @@ sub GetShelves ($$$$) {
$query .= ($mincategory == 1) ? "WHERE owner=? AND category=?" : "WHERE category>=?";
$query .= qq(
GROUP BY virtualshelves.shelfnumber
ORDER BY virtualshelves.category
DESC
ORDER BY virtualshelves.shelfname
LIMIT ?, ?);
warn $query;
my $sth2 = $dbh->prepare($query);
$sth2->execute(@params);
my %shelflist;