]> git.koha-community.org Git - koha.git/commit
Bug 18094: Only search in searchable patron attributes if searching in standard fields
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 14 Feb 2017 15:22:40 +0000 (15:22 +0000)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 22 Mar 2017 21:12:43 +0000 (21:12 +0000)
commit5823d4ca6a71404d502eeb7f1bf5dd152fd98e22
treeec0def7374a1647ea52b18d4599a7a6f36129590
parentf86500351af0a1a4d1593eb2aa689b8ec52bc401
Bug 18094: Only search in searchable patron attributes if searching in standard fields

Test plan:
- Add a new patron attrbute and mark it searchable
- Populate a new patron with 'potato' in that field
- Add/edit another patron to have email potato@invalidemail.com'
- Perform a patron search with query 'potato' (in standard fields)
=> Both patrons are returned
- Perform a patron search with filters 'Email' and query 'potato'
=> Only 1 patron is returned and you are redirected to the patron detail page.

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Utils/DataTables/Members.pm