Bugzilla – Attachment 190707 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.74 KB, created by
David Nind
on 2025-12-23 22:44:51 UTC
(
hide
)
Description:
Bug 31717: Value builder unimarc_field_010.pl also use 214$c
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-12-23 22:44:51 UTC
Size:
1.74 KB
patch
obsolete
>From 8dabb471e505db32e1015496132ae341771b80b6 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > cataloguing/value_builder/unimarc_field_010.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/cataloguing/value_builder/unimarc_field_010.pl b/cataloguing/value_builder/unimarc_field_010.pl >index 71c3707220..2d164762ee 100755 >--- a/cataloguing/value_builder/unimarc_field_010.pl >+++ b/cataloguing/value_builder/unimarc_field_010.pl >@@ -35,11 +35,11 @@ sub plugin_javascript { > var elems = document.getElementsByTagName('input'); > for( i = 0 ; elems[i] ; i++ ) > { >- if(elems[i].id.match(/^tag_210_subfield_c/)) { >+ if(elems[i].id.match(/^tag_(210|214)_subfield_c/)) { > elems[i].value = resp; >- return 1; > } > } >+ return 1; > }); > return 1; > } >-- >2.39.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 31717
:
141523
|
190703
|
190705
| 190707