View | Details | Raw Unified | Return to bug 15198
Collapse All | Expand All

(-)a/etc/zebradb/ccl.properties (-1 / +1 lines)
Lines 983-989 cn-class 1=9007 Link Here
983
cn-item 1=9008 
983
cn-item 1=9008 
984
cn-prefix 1=9009
984
cn-prefix 1=9009
985
cn-suffix 1=9010
985
cn-suffix 1=9010
986
Suppress 1=9011
986
Suppress 1=9011 14=1
987
id-other 1=9012
987
id-other 1=9012
988
date-entered-on-file 1=date-entered-on-file
988
date-entered-on-file 1=date-entered-on-file
989
extent 1=Extent
989
extent 1=Extent
(-)a/opac/opac-search.pl (-3 / +2 lines)
Lines 555-561 if (C4::Context->preference('OpacSuppression')) { Link Here
555
        my $IPRange = C4::Context->preference('OpacSuppressionByIPRange');
555
        my $IPRange = C4::Context->preference('OpacSuppressionByIPRange');
556
        if ($IPAddress !~ /^$IPRange/)  {
556
        if ($IPAddress !~ /^$IPRange/)  {
557
            if ( $query_type eq 'pqf' ) {
557
            if ( $query_type eq 'pqf' ) {
558
                $query = '@not '.$query.' @attr 1=9011 1';
558
                $query = '@not '.$query.' @attr 14=1 @attr 1=9011 1';
559
            } else {
559
            } else {
560
                $query = "($query) not Suppress=1";
560
                $query = "($query) not Suppress=1";
561
            }
561
            }
Lines 564-570 if (C4::Context->preference('OpacSuppression')) { Link Here
564
    else {
564
    else {
565
        if ( $query_type eq 'pqf' ) {
565
        if ( $query_type eq 'pqf' ) {
566
            #$query = "($query) && -(suppress:1)"; #QP syntax
566
            #$query = "($query) && -(suppress:1)"; #QP syntax
567
            $query = '@not '.$query.' @attr 1=9011 1'; #PQF syntax
567
            $query = '@not '.$query.' @attr 14=1 @attr 1=9011 1'; #PQF syntax
568
        } else {
568
        } else {
569
            $query = "($query) not Suppress=1";
569
            $query = "($query) not Suppress=1";
570
        }
570
        }
571
- 

Return to bug 15198