Bug 7031 Follow-up: Staff search displays OPAC description instead of the normal...
authorKyle M Hall <kyle@bywatersolutions.com>
Fri, 24 Feb 2012 14:19:08 +0000 (09:19 -0500)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 14 Mar 2012 13:35:29 +0000 (14:35 +0100)
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
catalogue/search.pl

index 20d21f1..03343f9 100755 (executable)
@@ -265,7 +265,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);
         my @authvalueloop;
        for my $thisitemtype (@$advsearchtypes) {
                my %row =(