Bug 25136: Make PatronSelfRegistrationLibraryList only effect new registration
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 15 Apr 2020 22:46:23 +0000 (22:46 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 16 Apr 2020 18:26:14 +0000 (19:26 +0100)
commitdbf604e141429fb32501bc13ed74919823d8c7ee
treea3214ce50235fc456e2b03a7bfc85f9693a7683b
parent429c57d8d6fd88053f2bff93465ab78f1ef82aa3
Bug 25136: Make PatronSelfRegistrationLibraryList only effect new registration

This patch makes it so PatronSelfRegistrationLibraryList will only effect the registration from and not the modification form.
TO TEST:
1. Turn on self reg and add some libaries to PatronSelfRegistrationLibraryList.
2. Notice that the libaries that display in the borrower_branchcode dropdown are the ones you selected on both the new registration from and the modification form.
3. Apply patch.
4. Now only the new registration from should show libaries on PatronSelfRegistrationLibraryList.
5. The modifciation dropdown should still show all libraries.

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-memberentry.pl