Bug 33891: Use template wrapper for tabs: OPAC advanced search
authorOwen Leonard <oleonard@myacpl.org>
Wed, 31 May 2023 17:51:46 +0000 (17:51 +0000)
committerMatt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Mon, 12 Jun 2023 10:28:26 +0000 (10:28 +0000)
commit3fb26d1f48bbbb9e021ef1ac3e05ef163e4183b9
treee473ae4bb9831286aff0096a76607d74723e4ed1
parent43017b514facd226e9a89b0166fb1507765d2812
Bug 33891: Use template wrapper for tabs: OPAC advanced search

This patch adds the tab WRAPPER markup to the OPAC, adapted for the
Bootstrap version used by the OPAC (4.5.0). The advanced search page is
updated to use the wrapper construction.

Unrelated markup fix: an empty size attribute is removed from an
<input>.

To test, apply the patch and view the the advanced search page in the
OPAC. The tabs for item type, shelving location, and collection should
all look correct and work correctly.

In the staff interface, go to Administration -> System preferences ->
OpacAdvancedSearchTypes and try various configurations, confirming each
time that the OPAC page adjustes correctly.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit b754eb5b5a616fa54e721ac71c8049f0f00a52e8)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt