From 8f04bc45b44ba5ee0a597638765f2da0115b6ae3 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Tue, 19 Sep 2023 12:20:43 -1000 Subject: [PATCH] Bug 34835: Highlight logged-in library in patron searches fix for new staff interface Since Bug 30952 the feature from Bug 10902 does not work anymore. The class "currentlibrary" is there but no background color in CSS. Bug 30952 removed it : - background-color: #E6FCB7; This patch restores this rule plus '!important' that is used by class 'ac-currentlibrary' Test plan: 1) Perform a patrons search 2) Check you see green background color for patrons with same branch as currently logged in. Signed-off-by: David Nind Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 9f59ea2f61a4660a9e1f5c27a2ecca33bea89b0b) Signed-off-by: Fridolin Somers (cherry picked from commit 3b8187d620862741fdeb892d6e5f29873e49392b) Signed-off-by: Jacob O'Mara --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 1 + 1 file changed, 1 insertion(+) 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 443a594271..9e1a533920 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -4215,6 +4215,7 @@ div .suggestion_note { } .currentlibrary { + background-color: #E6FCB7 !important; display: inline-block; padding: 2px 4px; } -- 2.39.2