Bugzilla – Attachment 160537 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.04 KB, created by
Nick Clemens (kidclamp)
on 2024-01-04 15:15:15 UTC
(
hide
)
Description:
Bug 35702: Use framework code from biblio object
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-01-04 15:15:15 UTC
Size:
1.04 KB
patch
obsolete
>From c08b2f8a933eafe0b249ff390fe601fde19edaf3 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 > >--- > C4/AuthoritiesMarc.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/AuthoritiesMarc.pm b/C4/AuthoritiesMarc.pm >index 8c4dde95afe..7319d0e4256 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