]> git.koha-community.org Git - koha.git/commit
Bug 33186: Use template wrapper for tabs on search history and advanced search
authorOwen Leonard <oleonard@myacpl.org>
Thu, 9 Mar 2023 18:47:04 +0000 (18:47 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 13 Apr 2023 14:48:07 +0000 (11:48 -0300)
commit78f037382ddb111e707b42d0c1b2c125fff81c1e
tree2457ee325af4c2fa430ad9a93ab30807211f0f51
parentb6230b0817e7cf257c515cb320597ac790eca544
Bug 33186: Use template wrapper for tabs on search history and advanced search

This patch updates the search history and advanced search templates in
the staff interface so that they use the new WRAPPER directive for
building tabs.

The patch also makes a minor change to CSS in order to accommodate the
different markup.

To test, apply the patch and rebuild the staff interface CSS.

- Go to the catalog's advanced search page. You should see tabs for each
  of the selections defined in the AdvancedSearchTypes system
  preference.
- The tabs should look correct and work correctly.
- If necessary, enable the EnableSearchHistory system preference.
- Click the logged-in user name in the header menu and choose "Search
  history."
- On this page you should see two tabs, catalog and authority. Both tabs
  should look correct and work correctly.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/search-history.tt