Bug 34835: Highlight logged-in library in patron searches fix for new staff interface
authorFridolin Somers <fridolin.somers@biblibre.com>
Tue, 19 Sep 2023 22:20:43 +0000 (12:20 -1000)
committerJacob O'Mara <jacob.omara@ptfs-europe.com>
Tue, 17 Oct 2023 11:24:34 +0000 (12:24 +0100)
commit8f04bc45b44ba5ee0a597638765f2da0115b6ae3
tree3cf57bbcaa0fdad5468e9de82ded578673661bd1
parent61e5d4685964380b90117ba691bb710f3365a8a4
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>
(cherry picked from commit 9f59ea2f61a4660a9e1f5c27a2ecca33bea89b0b)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 3b8187d620862741fdeb892d6e5f29873e49392b)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss