From 1c3b98e146df0cdd1976c6bf51840ac2103b24cf 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: Tomas Cohen Arazi --- 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 d7eaf9e2c1..692d70b938 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -420,10 +420,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