Browse Source

Bug 5674: patron name sort ignoring case when placing holds.

Fixes the patron name sorting when placing holds.

Testing - See Bug 5674.
Create two patrons.  One named SMITH, THOMAS and the other Smith, John.
Search for an item to place on request.  Do a patron search for Smith.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Confirm both the original bug and the fix, sorting is correct now.
Patch does not change status of tests - prove t t/db_dependent xt no different from master.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
3.8.x
Garry Collum 12 years ago
committed by Paul Poulain
parent
commit
e1d948ecd6
  1. 6
      reserve/request.pl

6
reserve/request.pl

@ -192,9 +192,9 @@ if ($borrowerslist) {
foreach my $borrower (
sort {
$a->{surname}
. $a->{firstname} cmp $b->{surname}
. $b->{firstname}
uc($a->{surname}
. $a->{firstname}) cmp uc($b->{surname}
. $b->{firstname})
} @{$borrowerslist}
)
{

Loading…
Cancel
Save