Bug 7585 - Correct MARC 008 Value Builder Char 06 Default
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.
This commit is contained in:
parent
734c63222b
commit
628eec4926
1 changed files with 2 additions and 3 deletions
|
@ -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/';
|
||||
|
|
Loading…
Reference in a new issue