@@ -, +, @@ for a tag --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt | 10 ++++++---- opac/opac-search.pl | 6 ++++-- 2 files changed, 10 insertions(+), 6 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt @@ -131,10 +131,12 @@ Highlight [% END %] -
- - -
+ [% UNLESS tag %] +
+ + +
+ [% END %]
--- a/opac/opac-search.pl +++ a/opac/opac-search.pl @@ -345,8 +345,10 @@ if ( $template_type && $template_type eq 'advsearch' ) { # * multivalued CGI paramaters are returned as a packaged string separated by "\0" (null) my $params = $cgi->Vars; my $tag; -$tag = $params->{tag} if $params->{tag}; - +if ( $params->{tag} ) { + $tag = $params->{tag}; + $template->param( tag => $tag ); +} # String with params with the search criteria for the paging in opac-detail # param value is URI encoded and params separator is HTML encode (&) --