Bug 14782: Add possibility to search patrons using the username (userid)
authorMarc Véron <veron@veron.ch>
Sat, 5 Sep 2015 14:41:58 +0000 (16:41 +0200)
committerChris Cormack <chris@bigballofwax.co.nz>
Tue, 22 Sep 2015 17:28:02 +0000 (05:28 +1200)
commit04319600c32fc3145cfd2457258e97174e4f2cd6
tree043776166764e9854d28ab377a3954d640376e94
parentb609ddc5dbb02b631f776e9bc664d88e7c1beeae
Bug 14782: Add possibility to search patrons using the username (userid)

This patch makes it possible to search for users using the username (userid / login name).

To test:

- Apply patch
- Do searches from Home > Patrons
- Search after a full username or parts of a username with Search fields = Standard and Search fields = Userid
- Perform the searches from the top bar (expand with [+]) and from the "Filters" part at the left
- Make sure that other searches behave as before

Signed-off-by: Joonas Kylmälä <j.kylmala@gmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
(cherry picked from commit a71cc14a52589f45bc30dad81b8c7fc0ac35d9fc)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
C4/Utils/DataTables/Members.pm
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt
svc/members/search