Bug 7534: Display pickup locations instead of all libraries in opac-reserve.pl
authorLari Taskula <lari.taskula@jns.fi>
Tue, 7 Feb 2017 17:42:22 +0000 (19:42 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Thu, 6 Sep 2018 17:27:06 +0000 (17:27 +0000)
commit8d404ec2ccbff96f638baf2746010648de3ed007
treef035aec2c7473db60442a6e14fc7c040492f5dde
parentd9ceb30a4d72cbaf387bba2fc550b7bad1609e8f
Bug 7534: Display pickup locations instead of all libraries in opac-reserve.pl

This patch sets opac-reserve.tt to use the list of pickup libraries instead
of every library in the system.

To test:
1. Go to cgi-bin/koha/admin/branches.pl
2. Configure one of your libraries to "Pickup location" => "No"
3. Go to OPAC and place a hold
4. See the provided Pickup location list
5. Observe the library that you configured is not present in the list

Signed-off-by: Koha Team AMU <axelle.clarisse@univ-amu.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt