Bug 16157: Move the selected flag from GetAuthorisedValues to the templates
[koha.git] / opac / opac-search.pl
index 72d054f..0e89100 100755 (executable)
@@ -267,7 +267,7 @@ foreach my $advanced_srch_type (@advanced_search_types) {
         push @advancedsearchesloop, \%search_code;
     } else {
     # covers all the other cases: non-itemtype authorized values
-       my $advsearchtypes = GetAuthorisedValues($advanced_srch_type, '', 'opac');
+       my $advsearchtypes = GetAuthorisedValues($advanced_srch_type, 'opac');
         my @authvalueloop;
        for my $thisitemtype (@$advsearchtypes) {
             my $hiding_key = lc $thisitemtype->{category};