Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Nick Clemens 2f2e4ecb25 Bug 28828: Fix unimarc_field_4XX.tt and marc21_linking_section.tt value builders
Find closest ul for value builders.

Since Bug 22399 changes in biblio editor, value builder unimarc_field_4XX.tt JavaScript
code does not do its job anymore.
This is because a div is added and this call is now wrong:
  var subfields = whichfield.parentNode.parentNode.getElementsByTagName('input');

Test plan 1:
1) Use a UNIMARC DB
2) Define value builder unimarc_field_4XX on 463$t
3) Create a record B1 with 200$a, 200$f
4) Create a new record B2
5) Click on value builder in 463$t
6) Search for record B1
7) Click on "Choose"
=> Without patch only 463$t is filled with a value
=> With patch 463 $t, $a, $0 and $9 are filled with a value

Test plan 2:
1) Use a MARC_21 DB
2) Define plugin marc21_linking_section.pl on 773$t
3) Make sure 773$t and other subfields are visible in intranet/editor
4) Create a new record in basic cataloging editor
5) Click on value builder in 773$t
6) Search fro a record
7) Click on "Choose"
=> Without patch fields are not fileld
=> With patch subfields are correctly filled

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-08-11 12:53:54 +02:00
..
acqui Bug 28773: (bug 23302 follow-up) Fix add order from z3950 search results 2021-08-04 14:06:43 +02:00
admin Bug 28630: (follow-up) Update wording of syspref 2021-08-04 14:06:43 +02:00
authorities
basket
batch
catalogue Bug 28727: (QA follow-up) Simplify permission check 2021-08-11 12:00:15 +02:00
cataloguing Bug 28828: Fix unimarc_field_4XX.tt and marc21_linking_section.tt value builders 2021-08-11 12:53:54 +02:00
circ Bug 28261: Add visual feedback on overridden pickup locations on patron's page 2021-08-04 14:06:43 +02:00
clubs
common Bug 28350: Fix borrowernotes sorting for patron search 2021-06-14 17:35:20 +02:00
course_reserves Bug 14237: (follow-up) Make the routines exclusively take itemnumber, biblionumber, or ci_id 2021-07-12 12:09:44 +02:00
errors
ill
installer
labels Bug 26340: Code simplification 2021-07-12 15:47:33 +02:00
mana
members Bug 28261: Add visual feedback on overridden pickup locations on patron's page 2021-08-04 14:06:43 +02:00
offline_circ
onboarding
patron_lists
patroncards
plugins
pos Bug 27583: Proposed terminology changes 2021-07-26 12:46:32 +02:00
reports Bug 27747: (QA follow-up) Make code consistent and add explicit brackets 2021-07-26 12:46:32 +02:00
reserve Bug 27885: (follow-up) Use biblionumbers instead of biblionumber in form action for club search 2021-07-26 10:47:54 +02:00
reviews
rotating_collections
serials Bug 26838: Improve styling of checkin message 2021-06-21 14:01:50 +02:00
services
suggestion Bug 28408: Add 'Last updated' column to suggestions table 2021-07-26 10:47:54 +02:00
tags
test
tools Bug 27583: Proposed terminology changes 2021-07-26 12:46:32 +02:00
virtualshelves Bug 28427: Terminology: Shelf should be list 2021-06-21 12:07:28 +02:00
about.tt Bug 28490: Revert "Bug 26995: Remove references to relationship column" 2021-06-14 17:35:19 +02:00
auth.tt
intranet-main.tt Bug 22544: Use template plugin for news author display 2021-07-06 12:17:28 +02:00