]> git.koha-community.org Git - koha.git/commit
Bug 27604: [19.11] Make sure PatronSelfRegistrationLibraryList is used
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 3 Feb 2021 15:14:12 +0000 (16:14 +0100)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 23 Feb 2021 21:32:39 +0000 (22:32 +0100)
commita1322829cbe3c1a542bc5be17ef0328333892df2
tree6083a54e5b2ddd09e5567db555151387bb32dce4
parentc0c32cc43d29ad413abda1ba52c202543ae28946
Bug 27604: [19.11] 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>
https://bugs.koha-community.org/show_bug.cgi?id=11983

Bug 27604: (QA follow-up) Limit the libraries during the query

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
https://bugs.koha-community.org/show_bug.cgi?id=11983

Bug 27604: Init to {}

Bug 27604: Deal with empty pref

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
opac/opac-memberentry.pl