]> 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)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 8 Mar 2024 17:58:20 +0000 (18:58 +0100)
commit5998fe93f5a7fe5fa2b55fc18b94e68e99f2a879
treefba2c40fd7d6c3023551f08d1abe9f2afa5bc517
parent8a7a37fb359f836c84b4ccf1be08bb2721507493
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>
opac/opac-memberentry.pl