From bd90bb02a4d976010d302cfe175c6a1dd8fb9627 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 12 Nov 2010 23:22:24 -0500 Subject: [PATCH] Corrected patch for Bug 4520, facets "show more" doesn't work Re-doing Nahuel's fix so that it applies to master Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- catalogue/search.pl | 1 + koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc | 2 +- opac/opac-search.pl | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/catalogue/search.pl b/catalogue/search.pl index 485af6774b..ac2209af34 100755 --- a/catalogue/search.pl +++ b/catalogue/search.pl @@ -543,6 +543,7 @@ for (my $i=0;$i<@servers;$i++) { $template->param(query_cgi => $query_cgi); $template->param(query_desc => $query_desc); $template->param(limit_desc => $limit_desc); + $template->param(offset => $offset); $template->param(DisplayMultiPlaceHold => $DisplayMultiPlaceHold); $template->param (z3950_search_params => C4::Search::z3950_search_args($query_desc)); if ($query_desc || $limit_desc) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc index ff6704786e..c306c8998c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc @@ -18,7 +18,7 @@ Libraries diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc index e272906e1d..85719f395c 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc @@ -19,7 +19,7 @@ diff --git a/opac/opac-search.pl b/opac/opac-search.pl index fda58b2278..2bfcb6d6eb 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -535,6 +535,7 @@ for (my $i=0;$i<@servers;$i++) { $template->param(query_cgi => $query_cgi); $template->param(query_desc => $query_desc); $template->param(limit_desc => $limit_desc); + $template->param(offset => $offset); $template->param(DisplayMultiPlaceHold => $DisplayMultiPlaceHold); if ($query_desc || $limit_desc) { $template->param(searchdesc => 1); -- 2.39.5