From 8a9b2d3d6381d61c59259ca3a2282d889fde594d Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Wed, 21 Nov 2007 13:53:02 -0600 Subject: [PATCH] adding query_cgi to facets Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- C4/Search.pm | 2 ++ koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/C4/Search.pm b/C4/Search.pm index 54537d9c63..ad7a9b7cf8 100644 --- a/C4/Search.pm +++ b/C4/Search.pm @@ -857,6 +857,8 @@ sub buildQuery { $_ =~ s/==/=/g; # remove double == from query } + + $query_cgi =~ s/^&//; # append the limit to the query $query .= $limit; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index 01a2f02f46..78ab09eabe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -4,8 +4,8 @@
  • Refine your search

  • ">
  • -- 2.39.5