]> 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)
committerMason James <mtj@kohaaloha.com>
Wed, 3 May 2017 14:52:33 +0000 (02:52 +1200)
commit81425d15cb7c7f5f5876eb2e2ff1daabd9f9323d
tree122f56cb9c1ced37e6a5c1ef959e81dd1ead1895
parentdb88517d2434bccad700b9692ca6db68e4210ce1
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: Mason James <mtj@kohaaloha.com>
C4/Utils/DataTables/Members.pm