diff --git a/etc/zebradb/ccl.properties b/etc/zebradb/ccl.properties index c2d8fd83d7..986d0d52f2 100644 --- a/etc/zebradb/ccl.properties +++ b/etc/zebradb/ccl.properties @@ -974,7 +974,7 @@ cn-class 1=9007 cn-item 1=9008 cn-prefix 1=9009 cn-suffix 1=9010 -Suppress 1=9011 +Suppress 1=9011 14=1 id-other 1=9012 date-entered-on-file 1=date-entered-on-file extent 1=Extent diff --git a/opac/opac-search.pl b/opac/opac-search.pl index 81f2bbb4ef..6a283b18b2 100755 --- a/opac/opac-search.pl +++ b/opac/opac-search.pl @@ -527,7 +527,7 @@ if (C4::Context->preference('OpacSuppression')) { my $IPRange = C4::Context->preference('OpacSuppressionByIPRange'); if ($IPAddress !~ /^$IPRange/) { if ( $query_type eq 'pqf' ) { - $query = '@not '.$query.' @attr 1=9011 1'; + $query = '@not '.$query.' @attr 14=1 @attr 1=9011 1'; } else { $query = "($query) not Suppress=1"; } @@ -536,7 +536,7 @@ if (C4::Context->preference('OpacSuppression')) { else { if ( $query_type eq 'pqf' ) { #$query = "($query) && -(suppress:1)"; #QP syntax - $query = '@not '.$query.' @attr 1=9011 1'; #PQF syntax + $query = '@not '.$query.' @attr 14=1 @attr 1=9011 1'; #PQF syntax } else { $query = "($query) not Suppress=1"; }