]> git.koha-community.org Git - koha.git/commit
Bug 27604: Make sure PatronSelfRegistrationLibraryList is used
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Feb 2021 15:14:12 +0000 (16:14 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 23 Feb 2021 13:35:22 +0000 (14:35 +0100)
commit41aaad80980fa0ddd8cb7f3c9f9f7f41441832c7
tree861cc9b1e0c8d1cc90cc5c4f9b7002d1bdf838c2
parentc8d14a8087a57d6859b283188e8e1b1a0343dfda
Bug 27604: Make sure PatronSelfRegistrationLibraryList is used

The value of PatronSelfRegistrationLibraryList is used to display the dropdown
list of the libraries, but not after the form is submitted.

Test plan:
1. Empty PatronSelfRegistrationLibraryList
2. Self register a new patron
=> Confirm the dropdown list with the libraries contain all the
libraries
3. Fill in PatronSelfRegistrationLibraryList with branchcodes (eg. "CPL|MPL")
4. Self register a new patron
5. Edit the HTML form and replace the option's value with another
branchcode (FPL)
6. Save
=> Without this patch the branchcode FPL is used
=> With this patch applied an ugly 500 is returned

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 376bf9b980b877a38acc6680445ad5aa0078620c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-memberentry.pl