From f3ae94ba96ad44a689381bbe4f2a84d8781a1505 Mon Sep 17 00:00:00 2001 From: miker Date: Sat, 31 May 2008 19:43:26 +0000 Subject: [PATCH] fix sort and dir adv search syntax git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@9753 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index 1671861668..14ee02caba 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -493,6 +493,10 @@ sub multiclass_query { $arghash->{language} = [] unless $arghash->{language}; push(@{$arghash->{language}}, $value); + } elsif($type =~ /^sort/o) { + # sort and sort_dir modifiers + $arghash->{$type} = $value; + } else { # append the search term to the term under construction $search->{$type} = {} unless $search->{$type}; -- 2.11.0