]> 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)
committerJacob O'Mara <jacobomara901@gmail.com>
Sun, 16 Apr 2023 20:34:50 +0000 (21:34 +0100)
commita1b71f201f027e21fab173251ee13a255bca89ce
treef1d882c127abe8654b29a302a1e216098267bd87
parentcfc2640e6c24d016ed748bc225c179ee29701bed
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>
(cherry picked from commit 78f037382ddb111e707b42d0c1b2c125fff81c1e)
Signed-off-by: Jacob O'Mara <jacobomara901@gmail.com>
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