Bug 27733: Add "_sort_by" paramter to pickup_locations API query
authorOwen Leonard <oleonard@myacpl.org>
Fri, 19 Feb 2021 14:42:49 +0000 (14:42 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 23 Feb 2021 12:16:07 +0000 (13:16 +0100)
commit1b1939fe927079f1fb0e7533002df7788f33575d
tree06755a3c20117147e41e277283c3380cf0bea47b
parent9a9865d40a14ff9ecbbd53637f7bb28e6acda9ae
Bug 27733: Add "_sort_by" paramter to pickup_locations API query

On the place hold page in the staff interface, add a "_sort_by"
parameter with the "name" value so that the list of libraries is
returned in name order.

To test, apply the patch and locate a title in the staff interface which
has holds on it.

- View the holds information for that title.
- In the table of exising holds, expand the "Pickup library" dropdown
  for any of the entries. The list of libraries should be in order by
  library name.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt