]> git.koha-community.org Git - koha.git/commit
Bug 35538: Sort OPAC self registration library list by library name
authorOwen Leonard <oleonard@myacpl.org>
Mon, 18 Dec 2023 19:05:10 +0000 (19:05 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 10:29:25 +0000 (11:29 +0100)
commite37c7d27e1d9af49023cc763509235d78e37ecb0
treecd299eb686a6c5fc6d025d9290eaae390a95fa60
parentfa4ce83a9d82ec149837ab0be27986eac9e0f09d
Bug 35538: Sort OPAC self registration library list by library name

This patch modifies opac-memberentry.pl so that the list of libraries is
sorted by library name instead of library code.

To test, apply the patch and restart services.

- If using the default testing data you'll have to go to Administration
  -> Libraries and edit one or more libraries so that the library name
  is alphabetically different than the library code. e.g. Centerville ->
  Zanzibar.
- Go the OPAC and click "Create an account" (requires the
  PatronSelfRegistration system preference).
- Under "Home library," the dropdown of libraries should be ordered by
  library name.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5998fe93f5a7fe5fa2b55fc18b94e68e99f2a879)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
opac/opac-memberentry.pl