From 3fd62098cece586831ac8311d24cac348bfa0ae4 Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Fri, 29 Aug 2008 18:15:20 +0200 Subject: [PATCH] Bug fixing : 2516 There was a problem with names ordering in circ/circulation.pl Signed-off-by: Galen Charlton --- circ/circulation.pl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/circ/circulation.pl b/circ/circulation.pl index fd33bae5a9..78e2ff9921 100755 --- a/circ/circulation.pl +++ b/circ/circulation.pl @@ -526,10 +526,7 @@ my %labels; my $CGIselectborrower; if ($borrowerslist) { foreach ( - sort { - lc $a->{'surname'} - . lc $a->{'firstname'} cmp lc $b->{'surname'} - . lc $b->{'firstname'} + sort {(lc $a->{'surname'} cmp lc $b->{'surname'} ?lc $a->{'surname'} cmp lc $b->{'surname'}:lc $a->{'firstname'} cmp lc $b->{'firstname'}) } @$borrowerslist ) { -- 2.39.5