From a19844fea728e420063c37283a6aeaa372e73e86 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 Signed-off-by: Owen Leonard --- .../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 2bc5c5db27..6a77fbaf33 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1998,6 +1998,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 21f29ea7b3..735e9c3e57 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 %]