Bugzilla – Attachment 160596 Details for
Bug 35702
Reduce DB calls when performing authorities merge
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35702: Use framework code from biblio object
Bug-35702-Use-framework-code-from-biblio-object.patch (text/plain), 1.08 KB, created by
David Nind
on 2024-01-06 18:30:05 UTC
(
hide
)
Description:
Bug 35702: Use framework code from biblio object
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-01-06 18:30:05 UTC
Size:
1.08 KB
patch
obsolete
>From 81522cc7b32373b04c84e35391322f78ad0b8379 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 4 Jan 2024 14:03:45 +0000 >Subject: [PATCH] Bug 35702: Use framework code from biblio object > >Signed-off-by: David Nind <david@davidnind.com> >--- > C4/AuthoritiesMarc.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 8c4dde95af..7319d0e425 100644 >--- a/C4/AuthoritiesMarc.pm >+++ b/C4/AuthoritiesMarc.pm >@@ -23,7 +23,7 @@ use warnings; > use MARC::Field; > > use C4::Context; >-use C4::Biblio qw( GetFrameworkCode ModBiblio ); >+use C4::Biblio qw( ModBiblio ); > use C4::Search qw( FindDuplicate new_record_from_zebra ); > use C4::AuthoritiesMarc::MARC21; > use C4::AuthoritiesMarc::UNIMARC; >@@ -1647,7 +1647,7 @@ sub merge { > } > } > next if !$update; >- ModBiblio($marcrecord, $biblionumber, GetFrameworkCode($biblionumber)); >+ ModBiblio($marcrecord, $biblionumber, $biblio->frameworkcode); > $counteditedbiblio++; > } > return $counteditedbiblio; >-- >2.30.2
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 35702
:
160537
|
160538
|
160596
|
160597
|
160900
|
160901