From: miker Date: Sat, 31 May 2008 19:43:26 +0000 (+0000) Subject: fix sort and dir adv search syntax X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f3ae94ba96ad44a689381bbe4f2a84d8781a1505;p=Evergreen.git 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 --- 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};