]> git.koha-community.org Git - koha.git/commit
Bug 18655: Correct the choose link in unimarc_field_210c value builder
authorBaptiste Wojtkowski <baptiste.wojtkowski@biblibre.com>
Tue, 23 May 2017 08:54:00 +0000 (08:54 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Oct 2018 12:23:50 +0000 (14:23 +0200)
commit2755a664707b2111589aa0726f56eb7bb14a2fde
tree78dc4a775d786563a0781bcc61cf1f778d720935
parent6830a61918a8ece7a3254cfe3473c48a6630f284
Bug 18655: Correct the choose link in unimarc_field_210c value builder

- Link 'choose' is now a button.
- It doesn't call directly javascript anymore (use of listener).
- field to load stored in html on the page (less escaping needed).

Test plan :
1) Use UNIMARC catalog
2) Define unimarc_field_210c value builder on 210$c
3) Define an autority type EDITORS with heading on 200$b
4) Create an autority of this type with a single quote in heading, ie : l'avenir
5) Index this new autority
6) Edit a biblio record and launch 210$c value builder
7) Search for new autority
8) Click on 'Choose'
=> Heading should be pasted in 210$c

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 9965aa43e15aaa63fd8999daa98618d20698e89b)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit b8ad6a6532c236e473d548ad910d920ef1516ecf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/unimarc_field_210c.tt