From 025843efa6e0d4ceeb2dab57dbfa9468d5e78b8c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Dec 2014 09:38:12 +0100 Subject: [PATCH] Bug 13428: Fix regression on deleting facets Test plan: Search for something click on a facet with diacritic click on another facet remove the facet with diacritic Signed-off-by: Mason James Signed-off-by: Kyle M Hall Signed-off-by: mason --- opac/opac-search.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index cc6beb7b19..d16a123f20 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -400,10 +400,11 @@ if ($operands[0] && !$operands[1]) { # limits are use to limit to results to a pre-defined category such as branch or language my @limits = $cgi->param('limit'); +@limits = map { uri_unescape($_) } @limits; my @nolimits = $cgi->param('nolimit'); +@nolimits = map { uri_unescape($_) } @nolimits; my %is_nolimit = map { $_ => 1 } @nolimits; @limits = grep { not $is_nolimit{$_} } @limits; -@limits = map { uri_unescape($_) } @limits; if($params->{'multibranchlimit'}) { my $multibranch = '('.join( " or ", map { "branch: $_ " } @{ GetBranchesInCategory( $params->{'multibranchlimit'} ) } ).')'; -- 2.39.5