From b152fe764b128ba283cc4178d0d8e6d47568b06e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Dec 2014 09:38:12 +0100 Subject: [PATCH] [PASSED QA] 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 --- opac/opac-search.pl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/opac/opac-search.pl b/opac/opac-search.pl index d7eaf9e..692d70b 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'} ) } ).')'; -- 1.7.2.5