[Koha-bugs] [Bug 28828] Bug 22399 breaks value_builder/unimarc_field_4XX.tt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 7 13:47:51 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28828

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #123592|0                           |1
        is obsolete|                            |

--- Comment #3 from David Nind <david at davidnind.com> ---
Created attachment 123594
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123594&action=edit
Bug 28828: Bug 22399 impact on value_builder/unimarc_field_4XX.tt

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');
It needs one more parent.

Test plan :
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

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list