Bugzilla – Attachment 150132 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), 1.04 KB, created by
Katrin Fischer
on 2023-04-23 12:16:41 UTC
(
hide
)
Description:
Bug 23924: Reset the fields to add
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-04-23 12:16:41 UTC
Size:
1.04 KB
patch
obsolete
>From e12970b828a61a1dce79c6e6f4fcffbf6c622340 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> >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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