]> git.koha-community.org Git - koha.git/commit
Bug 12833: Patron search should search on extended attributes
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 28 Aug 2014 08:51:03 +0000 (10:51 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 9 Sep 2014 13:08:59 +0000 (10:08 -0300)
commit0965dfcc15567216315ce73716abc469c0f27f53
tree01517688f249675b9025acedb8165fb012b1613d
parentd908dad443556a521127fdaea2c1999e12ed1dfe
Bug 12833: Patron search should search on extended attributes

Before Bug 9811, the patron search searched on extended attributes.

This patch restore this behavior.

Test plan:
0/ Create a patron attribute PA
1/ Create a patron A (cardnumber CNA) with PA="foo"
2/ Create a patron B (cardnumber CNB) with PA="foo bar"
3/ Search for CNA should redirect on the patron detail page.
4/ Search for "foo" should display the search result with 2 results.

Signed-off-by: Nick Clemens <nick@quecheelibrary.org>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
'Searchable' patron attributes can now be searched for again.
Works as described, passes stests and QA script.

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Utils/DataTables/Members.pm
svc/members/search
t/db_dependent/Utils/Datatables_Members.t