Koha/koha-tmpl
Owen Leonard fecb9a11fc Bug 27618: Don't show dropdown if PatronSelfRegistrationLibraryList only has one library
This patch modifies the patron entry form in the OPAC so that if there
is only one library to choose from, the input is hidden and the single
library displays as text.

To test, apply the patch and enable PatronSelfRegistration.

- Modify the PatronSelfRegistrationLibraryList system preference to
  include only one library.
- Go to the self-registratoin page in the OPAC.
- Under "Home library," you should see the library name. If you inspect
  the source you should see the library branchcode in a hidden form.
- Confirm that the form submission includes the correct library
  information.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-02-08 17:09:34 +01:00
..
intranet-tmpl Bug 26708: Add SQL popup when hovering over name of report 2021-02-08 17:09:32 +01:00
opac-tmpl Bug 27618: Don't show dropdown if PatronSelfRegistrationLibraryList only has one library 2021-02-08 17:09:34 +01:00