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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 22 Sep 2023 20:31:19 +0000 (10:31 -1000)
commit3b8187d620862741fdeb892d6e5f29873e49392b
treeb07bce20f1200399711e82ae54c951980d732dc2
parentd552c567a1e137762893648bb46d3058f78b3d54
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>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss