]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Fri, 31 Mar 2017 13:16:57 +0000 (15:16 +0200)
commitf23c9225406f8ab61da7c0560e4c56ec4065a601
tree774f59e9613044f3f9d480fbf2e7df8ab7ffdb66
parente491615349409389af192f285320fd60cd43dba5
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>
(cherry picked from commit b294550ac6db804193928af798500e18d83de9db)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Utils/DataTables/Members.pm