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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Jun 2023 12:58:48 +0000 (09:58 -0300)
commit087861cb435cf2b1c1c67d99016340487868afcd
treee596c763e48a93ef4f5c7ba329253e8efb39d994
parent399eb51d3445f3fe727cba4bc3176ba766b67bbd
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>
koha-tmpl/opac-tmpl/bootstrap/en/includes/html_helpers.inc
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt