]> git.koha-community.org Git - koha.git/commit
Bug 14874 - Add ability to search for patrons by date of birth from checkout and...
authorNick Clemens <nick@bywatersolutions.com>
Sun, 15 May 2016 14:44:48 +0000 (10:44 -0400)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 27 Oct 2016 13:21:13 +0000 (13:21 +0000)
commit65ed212fae5fca9d4ce4efe32e373fe5bea10d3c
treeeb87a8d6c802d6dd076e75985cfd10d3492d58ab
parent9b34b07d62588713405f31481cb363661b1a5d0c
Bug 14874 - Add ability to search for patrons by date of birth from checkout and patron quick searches

This patch adds a new syspef 'DefaultPatronSearchFields' which defines
the fields that should be used when searching for a patron if none are
defined.

To test:
1 - Aply patch, updatedatabase
2 - Ensure patron search has not changed
3 - Add dateofbirth to new pref
4 - Ensure things work wll
5 - Experiment with adding and removing other fields from borrowers
table
6 - prove t/db_dependent/Utils/Datatables_Members.t

Tested together with followup. Works as described.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Bug 14874 (QA Followup)

    Fix atomicupdate file name

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Utils/DataTables/Members.pm
installer/data/mysql/atomicupdate/bug14874-addDefaultPatronSearchFieldspreference.sql [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/includes/circ-patron-search-results.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref
t/db_dependent/Utils/Datatables_Members.t