From 07102b1f4198f17c157f64c6cd2d79ed2d1585b8 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 36f0cdc074..788f5ed361 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