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> (cherry picked from commite1d948ecd6) Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com> (cherry picked from commit07524b0de3) Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
8e702f32a8
commit
c4f9f7d473
|
|
@ -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…
Reference in New Issue