From a0c495e9463e53e0a6aeb1f37430c8d8933498fd Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 5 Feb 2007 02:56:23 +0000 Subject: [PATCH] FIXING case insensitive sorting of users (DESC, duh) git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_0@6866 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm index c94f23825a..2aaf8ae70d 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/actor.pm @@ -510,7 +510,7 @@ sub patron_search { return undef; } - my $order_by = join ', ', map { 'LOWER(users.'. $_ . ')' } @$sort; + my $order_by = join ', ', map { 'LOWER(users.'. (split / /,$_)[0] . ') ' . (split / /,$_)[1] } @$sort; my $distinct_list = join ', ', map { 'users.'. (split / /, $_)[0] } @$sort; if ($inactive) { -- 2.11.0