From e1fafeb0cc2a4d9dc6850235d2f5a881108e63a8 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 | 16 +++------------- .../prog/en/modules/members/member.tt | 2 +- 3 files changed, 7 insertions(+), 14 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 f63558b8fb..d5d11ae631 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 c8dd64c124..55de785817 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 %]