Bugzilla – Attachment 157505 Details for
Bug 35095
Bibliographic record from local title only has 245$a
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35095: Rearrange marc_record code if there is a biblio
Bug-35095-Rearrange-marcrecord-code-if-there-is-a-.patch (text/plain), 1.13 KB, created by
Pedro Amorim
on 2023-10-20 11:49:14 UTC
(
hide
)
Description:
Bug 35095: Rearrange marc_record code if there is a biblio
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-10-20 11:49:14 UTC
Size:
1.13 KB
patch
obsolete
>From 8b85921166c8b7db7feb8dc069c6b3f92e98d3fe Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Fri, 20 Oct 2023 11:49:38 +0000 >Subject: [PATCH] Bug 35095: Rearrange marc_record code if there is a biblio > >--- > Koha/ERM/EHoldings/Resource.pm | 17 +++++++++-------- > 1 file changed, 9 insertions(+), 8 deletions(-) > >diff --git a/Koha/ERM/EHoldings/Resource.pm b/Koha/ERM/EHoldings/Resource.pm >index c0b2207f53..000e866754 100644 >--- a/Koha/ERM/EHoldings/Resource.pm >+++ b/Koha/ERM/EHoldings/Resource.pm >@@ -55,16 +55,17 @@ sub store { > ? Koha::Biblios->find( $title->biblio_id )->unblessed > : {}; > >- my $marc_record = TransformKohaToMarc( >- { >- %$biblio, >- 'biblio.title' => $title->publication_title, >- >- } >- ); >- > my $biblio_id; > if ( %$biblio ) { >+ >+ my $marc_record = TransformKohaToMarc( >+ { >+ %$biblio, >+ 'biblio.title' => $title->publication_title, >+ >+ } >+ ); >+ > $biblio_id = $title->biblio_id; > C4::Biblio::ModBiblio($marc_record, $title->biblio_id, ''); > } else { >-- >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 35095
:
157504
| 157505 |
180411
|
180418