Fix for bug 1253 borrowers names sorted case sensitivly in circulation.pl
authorChris Cormack <crc@liblime.com>
Sat, 29 Dec 2007 20:58:44 +0000 (14:58 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 30 Dec 2007 18:07:59 +0000 (12:07 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
circ/circulation.pl

index e1f3e50..e3f7965 100755 (executable)
@@ -494,9 +494,9 @@ my $CGIselectborrower;
 if ($borrowerslist) {
     foreach (
         sort {
-                $a->{'surname'}
-              . $a->{'firstname'} cmp $b->{'surname'}
-              . $b->{'firstname'}
+                lc $a->{'surname'}
+              . lc $a->{'firstname'} cmp lc $b->{'surname'}
+              . lc $b->{'firstname'}
         } @$borrowerslist
       )
     {