]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 26 Mar 2017 20:53:33 +0000 (20:53 +0000)
commitb294550ac6db804193928af798500e18d83de9db
tree8f63b87f4e31d2e65ef386b03f749c1ff4707121
parent50483ff17cd2b6223c9fa3a2844195a57fc95160
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>
(cherry picked from commit 5823d4ca6a71404d502eeb7f1bf5dd152fd98e22)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Utils/DataTables/Members.pm