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:
parent
95e05c0499
commit
885c68e269
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue