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

Maryse Simard <maryse.sim...@inlibro.com> changed:

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

--- Comment #2 from Maryse Simard <maryse.sim...@inlibro.com> ---
Created attachment 89920
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=89920&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

Signed-off-by: Maryse Simard <maryse.sim...@inlibro.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to