]> git.koha-community.org Git - koha.git/commit
Bug 17374: Make use of fields from syspref 'DefaultPatronSearchFields' in patron...
authorNick Clemens <nick@bywatersolutions.com>
Thu, 27 Oct 2016 14:21:02 +0000 (14:21 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 10 Mar 2020 15:18:29 +0000 (15:18 +0000)
commitfaf1e7cd914d1a6c88f5c7bef54780d43b6c453d
tree900bc146bf4fe805a28bef030fe162749a593f11
parent8b17e1ae2ccde6f03037a311f5c398c46c21022f
Bug 17374: Make use of fields from syspref 'DefaultPatronSearchFields' in patron search fields dropdown

This patch preserves the current dropdown choices for patron search and adds fields from
the DefaultPatronSearchFields system preference

To test:
1 - View the regular patron search and note fields in dropdown
2 - Apply patch, ensure dropdown has not changed
3 - Add fields to DefaultPatronSearchFields, note they are available in
dropdown
4 - Ensure existing and new fields search properly

Signed-off-by: Kelly <kelly@bywatersolutions.com>
Signed-off-by: Maxime Dufresne <maxime.dufresne@inlibro.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Utils/DataTables/Members.pm
installer/data/mysql/atomicupdate/bug17374_update_DefaultPatronSearchFields_description.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/patronfields.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
koha-tmpl/intranet-tmpl/prog/en/modules/members/member.tt