[Koha-bugs] [Bug 22901] in items search authorised values select disappears on conditional change

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 14 08:31:48 CEST 2019


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

--- Comment #1 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 89726
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89726&action=edit
Bug 22901 - in items search fix search field change listerning

In items search, when there is a custom field with authorised values :
when changing the conditional select AND/OR then the authorised values select
disappears.
This behaviour is like when the search field is changed.

The bug is that JavaScript code meaning search field change listens on all
selects instead of only search field select.

Test plan :
1) Define a custom items search field with authorised values
2) Go to items search
3) Click on 'New field'
4) On second line, select custom field
5) The authorised values select appears
6) Select 'AND' in conditional select
7) Without patch the authorised values select disappears, with patch nothing
changes
8) On second line, select a non-custom field
9) The authorised values select is replaced by a text field
10) On second line, select custom field
11) The authorised values select appears

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


More information about the Koha-bugs mailing list