From 1dee385ac7375c9d0216001d164ecf898b2250d4 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 27 Mar 2020 01:36:22 +0000 Subject: [PATCH] Bug 24996: Unwanted CSS change unhides OPAC results sorting button This patch adds back a CSS selector which was incorrectly removed by Bug 23915. The "Go" button associated with the OPAC search results resort operation should be hidden if JavaScript is enabled. 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 a search in the OPAC - On the search results page, there should be no "Go" button next to the re-sort/results per page selection fields. Signed-off-by: David Nind Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index 2cadc63009..7b0dbfa6c8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -25,6 +25,7 @@ $footer-height: 45px; .js { .dateformat, + #sortsubmit, #sorting-form { display: none; } -- 2.20.1