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)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 19 Mar 2024 20:55:16 +0000 (20:55 +0000)
commitdc6c272582b9a1cca9d877356ddab12ab88302d9
tree87559d10bca8cd01aecd3632daf2ccd32c19b1eb
parentb9c1f1d12f61d7e27b9c202bd3439f70bc5d3f1b
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>
(cherry picked from commit e37c7d27e1d9af49023cc763509235d78e37ecb0)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
opac/opac-memberentry.pl