]> git.koha-community.org Git - koha.git/commit
Bug 18422 - Add Select2 to authority editor
authorOleg Vasylenko <synapse.ova@gmail.com>
Wed, 12 Apr 2017 07:45:48 +0000 (10:45 +0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Sep 2017 19:49:48 +0000 (16:49 -0300)
commit2f5a319b0a9f93dde7600decae5df989b842ca58
tree2d4f8948efeb348c7e421c95534dca9f53e6d3f0
parent1e2e1247c9bcd15514dc395be891a9a3607e5ea5
Bug 18422 - Add Select2 to authority editor

Overview:
Repeat tag fails if authority field has select subfield (for example, UNIMARC 700$8, 800$a)
This patch adds Select2 to authority editor

Steps to Reproduce:
In authority editor repeat field that has select subfield

Actual Results:
Field does not repeat (copy is not created).
Console shows a js TypeError in cataloging.js: «$(...).select2 is not a function»

Expected Results:
Field will repeat (copy is created)

Additional Information:
Error happens in version 16.11+ after adding Select2 js functions. The easiest way to fix is to add Select2 to authority editor

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt