From: Dan Pearl Date: Fri, 21 Dec 2012 21:16:59 +0000 (-0500) Subject: LP# 1092946: TPAC search returned no results after selecting two facets X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=refs%2Fheads%2Fuser%2Fdpearl%2Ffacetfix;p=working%2FEvergreen.git LP# 1092946: TPAC search returned no results after selecting two facets Facets are one of those parameters that can appear more than once in the URL, so it needed to be handled like an array. Signed-off-by: Dan Pearl --- diff --git a/Open-ILS/src/templates/opac/results.tt2 b/Open-ILS/src/templates/opac/results.tt2 index e5612cc71b..f45886f933 100644 --- a/Open-ILS/src/templates/opac/results.tt2 +++ b/Open-ILS/src/templates/opac/results.tt2 @@ -18,8 +18,8 @@ PROCESS get_library; %]
- [% IF CGI.param('facet') %] - + [% FOREACH res_facet IN CGI.param('facet') %] + [% END %]
[% INCLUDE "opac/parts/searchbar.tt2" took_care_of_form=1 %]