Bugzilla – Attachment 7836 Details for
Bug 7585
Correct MARC 008 Value Builder Char 06 Default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[Signed Off] Bug 7585 - Correct MARC 008 Value Builder Char 06 Default
Signed-Off-Bug-7585---Correct-MARC-008-Value-Build.patch (text/plain), 1.99 KB, created by
Liz Rea
on 2012-02-23 16:14:37 UTC
(
hide
)
Description:
[Signed Off] Bug 7585 - Correct MARC 008 Value Builder Char 06 Default
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2012-02-23 16:14:37 UTC
Size:
1.99 KB
patch
obsolete
>From 8aa992e2381c77b242cc73d890558a14ad6915e9 Mon Sep 17 00:00:00 2001 >From: Chris Nighswonger <cnighswonger@foundations.edu> >Date: Thu, 23 Feb 2012 10:25:13 -0500 >Subject: [PATCH] [Signed Off] Bug 7585 - Correct MARC 008 Value Builder Char 06 Default >Content-Type: text/plain; charset="utf-8" > >This patch changes the default value of the 06 char in 008 >from 't' to 'b.' This change allows for a valid 008 field >if no dates are entered in 07-14. > >To test: > >1. Create a new MARC record (prior to patch application). >2. Click on the 008 field to auto-populate. >3. Note that the 06 char is 't'. >4. Apply patch. >5. Create a new MARC record. >6. Click on the 008 field to auto-populate. >7. Note that the 06 char is now 'b'. > >Signed-off-by: Liz Rea <wizzyrea@gmail.com> >Confirm fix works per test plan. >--- > cataloguing/value_builder/marc21_field_008.pl | 5 ++--- > 1 files changed, 2 insertions(+), 3 deletions(-) > >diff --git a/cataloguing/value_builder/marc21_field_008.pl b/cataloguing/value_builder/marc21_field_008.pl >index 5b8a7e5..bb7e7ee 100755 >--- a/cataloguing/value_builder/marc21_field_008.pl >+++ b/cataloguing/value_builder/marc21_field_008.pl >@@ -58,7 +58,7 @@ function Focus$function_name(subfield_managed) { > if ( document.getElementById(\"$field_number\").value ) { > } > else { >- document.getElementById(\"$field_number\").value='$dateentered' + 't xxu||||| |||| 00| 0 eng d'; >+ document.getElementById(\"$field_number\").value='$dateentered' + 'b xxu||||| |||| 00| 0 eng d'; > } > return 1; > } >@@ -96,8 +96,7 @@ sub plugin { > } > ); > >- # $result = " t xxu 00 0 eng d" unless $result; >- $result = "$dateentered" . "t xxu||||| |||| 00| 0 eng d" unless $result; >+ $result = "$dateentered" . "b xxu||||| |||| 00| 0 eng d" unless $result; > my $errorXml = ''; > # Check if the xml, xsd exists and is validated > my $dir = C4::Context->config('intrahtdocs') . '/prog/' . $template->{lang} . '/modules/cataloguing/value_builder/'; >-- >1.7.2.5
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 7585
:
7835
| 7836