Bug 16274: Limit the patron self registration to some libraries
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sat, 23 Apr 2016 15:37:26 +0000 (16:37 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 12 Sep 2016 15:36:04 +0000 (15:36 +0000)
commit85288b8f157c7699ccb7e4e1bc277d5200582f65
treecc92a73d8519fc19c50f0a6d9294adcf3932a7c7
parent38422f1af6501e3777d647cd28f38aa5d92e1d6f
Bug 16274: Limit the patron self registration to some libraries

Currently a patron can select a home library in the list of all
libraries defined in the system.
However some of these libraries might not accept self registration.
This patch adds a new pref to display only the allowed libraries.

Test plan:
0/ Apply the patch, do not fill the new pref
1/ Self register a new patron
=> All the libraries defined should be displayed in the "Home library"
dropwdown list
2/ Fill the pref PatronSelfRegistrationLibraryList with some of the
branchcode defined in the system
=> Self register a new patron and confirm that the dropdown list has
been filtered.

Sponsored-by: BULAC - http://www.bulac.fr/
Signed-off-by: Nicolas Legrand <nicolas.legrand@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt
opac/opac-memberentry.pl