Bugzilla – Attachment 189796 Details for
Bug 31035
Script to update OPACSuppression field depending on hidden items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31035: (follow-up) Add skip_holds_queue
2e95099.patch (text/plain), 1.37 KB, created by
Fridolin Somers
on 2025-11-20 15:09:13 UTC
(
hide
)
Description:
Bug 31035: (follow-up) Add skip_holds_queue
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2025-11-20 15:09:13 UTC
Size:
1.37 KB
patch
obsolete
>From 2e95099d2e384e70350176821d1d0aab9b5a5330 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Thu, 20 Nov 2025 16:05:25 +0100 >Subject: [PATCH] Bug 31035: (follow-up) Add skip_holds_queue > >--- > misc/maintenance/update_opac_suppression.pl | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/misc/maintenance/update_opac_suppression.pl b/misc/maintenance/update_opac_suppression.pl >index 197bc79b838..c38fc037ef6 100755 >--- a/misc/maintenance/update_opac_suppression.pl >+++ b/misc/maintenance/update_opac_suppression.pl >@@ -147,7 +147,12 @@ while ( my ($biblionumber) = $query->fetchrow ) { > if ( $os_new_value != $os_old_value ) { > if ($confirm) { > _set_new_value( $marc_record, $os_field_input, $os_subfield_input, $os_new_value ); >- C4::Biblio::ModBiblio( $marc_record, $biblionumber, $biblio->frameworkcode, { disable_autolink => 1 } ); >+ C4::Biblio::ModBiblio( >+ $marc_record, >+ $biblionumber, >+ $biblio->frameworkcode, >+ { disable_autolink => 1, skip_holds_queue => 1 } >+ ); > $count_modified++; > if ($verbose) { > say "Record biblionumber=$biblionumber changed to " . ( $os_new_value ? "hidden" : "visible" ) . " in OPAC"; >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31035
:
136466
|
136472
|
144793
|
154852
| 189796