Bug 10857: (follow-up) make it possible to remove facets that contain diacritics
[koha_fer] / opac / opac-search.pl
index 5a8ccf2..990cbd0 100755 (executable)
@@ -845,7 +845,7 @@ for (my $i=0;$i<@servers;$i++) {
 } #/end of the for loop
 #$template->param(FEDERATED_RESULTS => \@results_array);
 
-my @input_values = map { $_->{input_value} } @limit_inputs;
+my @input_values = map { Encode::decode_utf8($_->{input_value}) } @limit_inputs;
 for my $facet ( @$facets ) {
     for my $entry ( @{ $facet->{facets} } ) {
         my $index = $entry->{type_link_value};