Bugzilla – Attachment 190703 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
2a1ce5e.patch (text/plain), 1.65 KB, created by
Fridolin Somers
on 2025-12-23 14:40:25 UTC
(
hide
)
Description:
Bug 31717: Value builder unimarc_field_010.pl also use 214$c
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2025-12-23 14:40:25 UTC
Size:
1.65 KB
patch
obsolete
>From 2a1ce5ec05b3dbb6a76e19205854b995823c3aad 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 71c3707220..ea01862b3d 100755 >--- a/cataloguing/value_builder/unimarc_field_010.pl >+++ b/cataloguing/value_builder/unimarc_field_010.pl >@@ -35,6 +35,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.43.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 31717
:
141523
|
190703
|
190705
|
190707