Bug 3294 Use cn_sort field to sort inventory list output

The inventory tool was using itemcallnumber, title to sort; modified
Items.pm to use cn_sort, itemcallnumber, title so that call numbers
sorted on the padded sort field instead.
This commit is contained in:
Jane Wagner 2010-01-21 15:33:23 -05:00 committed by Henri-Damien LAURENT
parent 95e05c0499
commit 885c68e269

View file

@ -1079,7 +1079,7 @@ END_SQL
$query .= 'WHERE ';
$query .= join ' AND ', @where_strings;
}
$query .= ' ORDER BY itemcallnumber, title';
$query .= ' ORDER BY items.cn_sort, itemcallnumber, title';
my $sth = $dbh->prepare($query);
$sth->execute( @bind_params );