When activating SingleBranchMode the library search options shoudl be hidden from the advanced search page, but not the availability filter also.
Still valid.
Created attachment 87426 [details] [review] 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.
Created attachment 87457 [details] [review] 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>
Created attachment 87467 [details] [review] 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>
Awesome work all! Pushed to master for 19.05
Pushed to 18.11.x for 18.11.05
backported to 18.05.x for 18.05.12