X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=catalogue%2Fsearch.pl;h=85981afbb3ecc8777651b6d03235c9ea90adde63;hb=6e55d55f060fd4258517799828b341a51c42d130;hp=f9e5241966c1630af92cd6ff5e49499591b18388;hpb=efc8f6980021cb1a789f413678d889d02a2368e9;p=srvgit diff --git a/catalogue/search.pl b/catalogue/search.pl index f9e5241966..85981afbb3 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -433,7 +433,8 @@ my ( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit my @results; ## I. BUILD THE QUERY -( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,$scan); +my $lang = C4::Output::getlanguagecookie($cgi); +( $error,$query,$simple_query,$query_cgi,$query_desc,$limit,$limit_cgi,$limit_desc,$stopwords_removed,$query_type) = buildQuery(\@operators,\@operands,\@indexes,\@limits,\@sort_by,$scan,$lang); ## parse the query_cgi string and put it into a form suitable for s my @query_inputs;