From d3d27284c407c9a977301934f95997be859ee223 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 24 Apr 2024 22:30:33 +0000 Subject: [PATCH] Bug 36694: Remove HC sticky from patron search searchbar --- .../intranet-tmpl/prog/css/src/staff-global.scss | 3 +++ .../prog/en/includes/patron-search.inc | 15 --------------- .../prog/en/modules/members/member.tt | 2 +- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 121030e70f..c42e367d21 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2059,6 +2059,9 @@ li { } .searchheader { + position: sticky; + top: 0; + z-index: 999; background-color: #F3F4F4; box-shadow: 0 0 2px 1px rgba( 0, 0, 0, .2 ); color: #696969; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 6dd9d150fa..cce12b3534 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -212,7 +212,6 @@ [%# columns: list of columns that will be displayed. Possible values are: 'checkbox', 'cardnumber', 'dateofbirth', 'address', 'name', 'name-address', 'branch', 'category', 'dateexpiry', 'borrowernotes, 'phone', 'checkouts', 'account_balance', 'action' %] [%# preview_on_name_click: Open a modal window with patron's info when the name is clicked %] [%# actions: list of buttons to display in the action column. Possible values are: 'select', 'add', 'edit', 'checkout' %] -[%# sticky_header and sticky_to: If we need a sticky header %] [%# callback: name of the JS function that will be called when a patron is selected. Only work with action=select %] [%# display_search_description: boolean, default off. Display the description of the search %] [%# adjust_history: boolean, default off. Change the current url when a first letter is selected %] @@ -266,9 +265,6 @@ [% INCLUDE 'js-patron-get-age.inc' %] [% INCLUDE 'js-patron-format.inc' %] [% INCLUDE 'js-patron-format-address.inc' %] - [% IF sticky_header %] - [% Asset.js("lib/hc-sticky/hc-sticky.js") | $raw %] - [% END %]