]> git.koha-community.org Git - koha.git/commit
Bug 13629: SingleBranchMode removes both library and availability search from advance...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 4 Apr 2019 18:27:28 +0000 (18:27 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 17 Apr 2019 21:03:44 +0000 (21:03 +0000)
commit14cfc4e7c558033299e1b719dc648c5649024304
tree949ac6fd15ec5952b5e7a158c877cb6c17f487d1
parenta1af304aa0793f31c169dab13888f86486154e18
Bug 13629: SingleBranchMode removes both library and availability search from advanced search

This patch modifies the OPAC advanced search form so that it is possible
to limit searches to available items even if there is only one library.

To test, apply the patch and go to the advanced search page in the OPAC.

 - With only one library configured: There should be a section labeled
   "Availability" with just the "only available" checkbox.

 - With multiple libraries: The section should be labeled "Location and
   availability" and should have the library dropdown and the
   availability checkbox.

Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 7acb5394e1f62728c90a1d18e988c23a3e2862d2)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 781821b8aec54a5532c1a2da2e39df764f0bbb5e)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt