From 002137025a85404bf51b6a5ea8519e936bde5637 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 25 Apr 2024 19:58:59 +0000 Subject: [PATCH] Bug 36694: Remove HC sticky from catalogue/ pages Signed-off-by: Owen Leonard Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer --- .../prog/en/modules/catalogue/advsearch.tt | 13 +++---------- .../prog/en/modules/catalogue/itemsearch.tt | 8 +------- .../prog/en/modules/catalogue/results.tt | 2 +- koha-tmpl/intranet-tmpl/prog/js/pages/results.js | 7 ------- 4 files changed, 5 insertions(+), 25 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index e83f7e7590..6e2edeb67e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -81,7 +81,7 @@

Advanced search

-
+
@@ -101,7 +101,7 @@
[% IF Koha.Preference('EnableSearchHistory') %] -
+ [% END %] @@ -209,7 +209,6 @@ [% END %] -
[% WRAPPER tabs id= "advsearches" %] @@ -401,12 +400,12 @@

+
[% MACRO jsinclude BLOCK %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] [% Asset.js("js/browser.js") | $raw %] [% Asset.css("css/humanmsg.css") | $raw %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] @@ -423,17 +422,11 @@ line.removeChild(ButtonPlus); } - var Sticky; $(document).ready(function() { $("input[name=q]:eq(0)").focus(); if( $("#advsearches .tab-pane.active").length < 1 ){ $("#advsearches a:first").tab("show"); } - Sticky = $("#toolbar"); - Sticky.hcSticky({ - stickTo: ".main", - stickyClass: "floating" - }); [% IF search_groups %] function branch_limit() { if( $("#branchloop").val() != "" ){ diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt index 690d593383..c02ba8d4cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt @@ -199,7 +199,7 @@

Item search

-
+
@@ -356,7 +356,6 @@ [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.columnFilter.js") | $raw %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] [% INCLUDE 'select2.inc' %]