From 1c5f2397bf9faa4afbed676565059aa2e385468e Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 3 Mar 2008 05:01:59 +0000 Subject: [PATCH] fixing sort and sort_dir in the advanced query syntax git-svn-id: svn://svn.open-ils.org/ILS/trunk@8854 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 fa3ba56188..2ebaf4ab7a 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -496,6 +496,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.43.2