From 7b4c5fd8e08eecfd3aaab5002d8fffcb54979508 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sat, 24 Nov 2007 16:29:02 -0600 Subject: [PATCH] searchdesc improvements, more opac fixes Signed-off-by: Joshua Ferraro --- C4/Search.pm | 4 ++-- .../opac-tmpl/prog/en/includes/masthead.inc | 21 ++++++++++--------- .../prog/en/modules/opac-results.tmpl | 4 ++-- opac/opac-search.pl | 9 ++++++++ 4 files changed, 24 insertions(+), 14 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 340378ef3c..b9bea2c50c 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -877,11 +877,11 @@ sub buildQuery { $_ =~ s/ / /g; # remove extra spaces $_ =~ s/^ //g; # remove any beginning spaces $_ =~ s/ $//g; # remove any ending spaces - $_ =~ s/:/=/g; # causes probs for server $_ =~ s/==/=/g; # remove double == from query } - + $query =~ s/:/=/g; + $limit =~ s/:/=/g; $query_cgi =~ s/^&//; # append the limit to the query diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc index 64fcd546ac..3d0bcc84e6 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc @@ -10,18 +10,18 @@