Bugzilla – Attachment 141523 Details for
Bug 31717
Value builder unimarc_field_010.pl should also use 214$c
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31717: Value builder unimarc_field_010.pl also use 214$c
Bug-31717-Value-builder-unimarcfield010pl-also-use.patch (text/plain), 1.65 KB, created by
Fridolin Somers
on 2022-10-07 20:40:58 UTC
(
hide
)
Description:
Bug 31717: Value builder unimarc_field_010.pl also use 214$c
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2022-10-07 20:40:58 UTC
Size:
1.65 KB
patch
obsolete
>From 05ed7cc036ecd448c2dfb5a8f4e8310a26db9e01 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 7 Oct 2022 10:19:35 -1000 >Subject: [PATCH] Bug 31717: Value builder unimarc_field_010.pl also use 214$c > >Value builder unimarc_field_010.pl tries to find publisher from ISBN in order to fill 210$c. >Since there is now 214$c for publisher this value builder should be adapted. > >Test plan : >1) Choose an existing record with an ISBN and a published in biblioitems.publishercode, > For example 9782070612369 and Gallimard >2) Use value builder unimarc_field_010.pl on 010$a >3) Create a new record >4) Enter 9782070612369 in 010$a >5) Click on value builder icon on this subfield >6) Check you see 'Gallimard' in 214$c >--- > cataloguing/value_builder/unimarc_field_010.pl | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl >index 00f5eb05b1..51666f26a1 100755 >--- a/cataloguing/value_builder/unimarc_field_010.pl >+++ b/cataloguing/value_builder/unimarc_field_010.pl >@@ -37,6 +37,10 @@ sub plugin_javascript { > var elems = document.getElementsByTagName('input'); > for( i = 0 ; elems[i] ; i++ ) > { >+ if(elems[i].id.match(/^tag_214_subfield_c/)) { >+ elems[i].value = resp; >+ return 1; >+ } > if(elems[i].id.match(/^tag_210_subfield_c/)) { > elems[i].value = resp; > return 1; >-- >2.35.4
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 31717
: 141523