Bugzilla – Attachment 98217 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), 960 bytes, created by
Jonathan Druart
on 2020-01-31 09:02:57 UTC
(
hide
)
Description:
Bug 23924: Reset the fields to add
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-01-31 09:02:57 UTC
Size:
960 bytes
patch
obsolete
>From a02af21b30c920024d5798da27d6bbe791e7ec35 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! >--- > 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 29dfaf4213..afc7a1b1c5 100755 >--- a/misc/add_date_fields_to_marc_records.pl >+++ b/misc/add_date_fields_to_marc_records.pl >@@ -79,6 +79,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.11.0
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