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 <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Fridolin Somers 2023-09-19 12:20:43 -10:00 committed by Tomas Cohen Arazi
parent 7fd26e069e
commit 9f59ea2f61
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -4230,6 +4230,7 @@ div .suggestion_note {
}
.currentlibrary {
background-color: #E6FCB7 !important;
display: inline-block;
padding: 2px 4px;
}