From 0f1f061233a6dfda3edde81a8d4dc6febd531754 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 Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Katrin Fischer --- .../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 a5bbd692a7..45d5aca077 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2019,6 +2019,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 d0ebd990c9..2046e69f7d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -226,7 +226,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', 'sort1', 'sort2', '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 %] @@ -300,9 +299,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 %]