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

(-)a/misc/maintenance/update_opac_suppression.pl (-2 / +6 lines)
Lines 147-153 while ( my ($biblionumber) = $query->fetchrow ) { Link Here
147
        if ( $os_new_value != $os_old_value ) {
147
        if ( $os_new_value != $os_old_value ) {
148
            if ($confirm) {
148
            if ($confirm) {
149
                _set_new_value( $marc_record, $os_field_input, $os_subfield_input, $os_new_value );
149
                _set_new_value( $marc_record, $os_field_input, $os_subfield_input, $os_new_value );
150
                C4::Biblio::ModBiblio( $marc_record, $biblionumber, $biblio->frameworkcode, { disable_autolink => 1 } );
150
                C4::Biblio::ModBiblio(
151
                    $marc_record,
152
                    $biblionumber,
153
                    $biblio->frameworkcode,
154
                    { disable_autolink => 1, skip_holds_queue => 1 }
155
                );
151
                $count_modified++;
156
                $count_modified++;
152
                if ($verbose) {
157
                if ($verbose) {
153
                    say "Record biblionumber=$biblionumber changed to " . ( $os_new_value ? "hidden" : "visible" ) . " in OPAC";
158
                    say "Record biblionumber=$biblionumber changed to " . ( $os_new_value ? "hidden" : "visible" ) . " in OPAC";
154
- 

Return to bug 31035