Bugzilla – Attachment 149740 Details for
Bug 23924
Add a parameter to the script add_date_fields_to_marc_records.pl to specify a date field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23924: Reset the fields to add
Bug-23924-Reset-the-fields-to-add.patch (text/plain), 1009 bytes, created by
David Nind
on 2023-04-17 00:50:48 UTC
(
hide
)
Description:
Bug 23924: Reset the fields to add
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-04-17 00:50:48 UTC
Size:
1009 bytes
patch
obsolete
>From f4f7b5c2978eb6206051eb24ce196b9ba7a5048d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 31 Jan 2020 10:01:59 +0100 >Subject: [PATCH] Bug 23924: Reset the fields to add > >We do not want to copy fields from the previous records! > >Signed-off-by: David Nind <david@davidnind.com> >--- > misc/add_date_fields_to_marc_records.pl | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/misc/add_date_fields_to_marc_records.pl b/misc/add_date_fields_to_marc_records.pl >index 8000dceb1d..5ae624ae02 100755 >--- a/misc/add_date_fields_to_marc_records.pl >+++ b/misc/add_date_fields_to_marc_records.pl >@@ -75,6 +75,7 @@ while ( my ( $biblionumber, $frameworkcode ) = $sth->fetchrow_array ) { > next if $marc_record->subfield($tag, $subfield); > } > if ( $date_field ) { >+ @fields_to_add = (); > my ( $tag, $subfield ) = split '\$', $date_field; > my $date = $marc_record->subfield($tag, $subfield); > next unless $date; >-- >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 23924
:
94860
|
95621
|
98217
|
149739
|
149740
|
150131
|
150132