]> git.koha-community.org Git - koha.git/commit
Bug 29603: Fix responsive behavior of facets menu in OPAC search results
authorOwen Leonard <oleonard@myacpl.org>
Thu, 27 Jan 2022 15:29:32 +0000 (15:29 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 17 Feb 2022 07:52:51 +0000 (21:52 -1000)
commit915815ddae7a69e549e0114eddd2be6a44f1486b
tree9e7d953747f5e32aabb82efbb3948bbaea86d70d
parent36b378ebabb9b149155c5839605f0a92d07002f4
Bug 29603: Fix responsive behavior of facets menu in OPAC search results

The OPAC was originally featured a search results facets box that would
collapse at narrower browser widths and show a "Refine your search" link
under the breadcrumbs menu. At some point this broke, with the "Refine
your search" link appearing at the bottom instead.

This patch revises the page to restore the previous behavior.

To test, apply the patch and rebuild the OPAC CSS
(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client).

- Perform catalog search in the OPAC which will return multiple results.
- View the page at various browser widths. At narrower widths the facets
  menu should appear as a "collapsed" box with a "Refine your search"
  link.
- Clicking the link should toggle the facets menu visibility.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/opac-tmpl/bootstrap/css/src/_responsive.scss
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/bootstrap/js/global.js