try this
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Feb 2007 20:46:14 +0000 (20:46 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 5 Feb 2007 20:46:14 +0000 (20:46 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6890 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm

index 2aaf8ae..b1e618b 100644 (file)
@@ -511,7 +511,7 @@ sub patron_search {
        }
 
        my $order_by = join ', ', map { 'LOWER(users.'. (split / /,$_)[0] . ') ' . (split / /,$_)[1] } @$sort;
-       my $distinct_list = join ', ', map { 'users.'. (split / /, $_)[0] } @$sort;
+       my $distinct_by = join ', ', map { 'LOWER(users.'. (split / /,$_)[0] . ')' } @$sort;
 
        if ($inactive) {
                $inactive = '';