Bugzilla – Attachment 150501 Details for
Bug 32250
link_bibs_to_authorities generates too many background jobs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32250: Linking authorities does not change holdability
Bug-32250-Linking-authorities-does-not-change-hold.patch (text/plain), 1.35 KB, created by
Jonathan Druart
on 2023-05-02 08:10:58 UTC
(
hide
)
Description:
Bug 32250: Linking authorities does not change holdability
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2023-05-02 08:10:58 UTC
Size:
1.35 KB
patch
obsolete
>From 49ca7a320809e798c92106eff135aff4b581be3c Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 13 Jan 2023 19:42:53 +0000 >Subject: [PATCH] Bug 32250: Linking authorities does not change holdability > >If the only change is a linked heading, we don't need to rebuild >the holds queue > >To test: >1 - Set preference RealTimeHoldsQueue to enable >2 - Run link_bibs_to_authorities >3 - Note holds queue jobs generated >4 - Apply patch >5 - repeat >6 - No holds queue updates > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > misc/link_bibs_to_authorities.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/link_bibs_to_authorities.pl b/misc/link_bibs_to_authorities.pl >index 9a095454cb4..981da7f4af5 100755 >--- a/misc/link_bibs_to_authorities.pl >+++ b/misc/link_bibs_to_authorities.pl >@@ -226,7 +226,7 @@ sub process_bib { > ); > } > if ( not $test_only ) { >- ModBiblio( $record, $biblionumber, $frameworkcode, { disable_autolink => 1 }); >+ ModBiblio( $record, $biblionumber, $frameworkcode, { disable_autolink => 1, skip_holds_queue => 1 }); > #Last param is to note ModBiblio was called from linking script and bib should not be linked again > $num_bibs_modified++; > } >-- >2.25.1
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 32250
:
145305
|
145319
|
149969
|
150100
|
150101
|
150102
|
150239
|
150293
| 150501 |
150502
|
150503
|
150504