Bug 34940: Highlight logged-in library in facets
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 27 Sep 2023 21:26:15 +0000 (11:26 -1000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 25 Oct 2023 14:11:15 +0000 (11:11 -0300)
commit0c41e05f25e4a9385ad26cdaed68f9c037909931
treeafd818d32f3eb331722d99a1d9b30b037062e9e8
parent1508e81505f978b473f06b9f8e71a8f22721a7f5
Bug 34940: Highlight logged-in library in facets

Like in patron searches Bug 10902, use class 'currentlibrary' to highlight logged-in library in facets

Test plan :
1) Set system preference 'DisplayLibraryFacets' to 'both home and holding libraries'
2) Perform a seach that will find items of your logged-in library.
   In KTD, search for 'branch:CPL'
3) Check the facet (home and holding libraries) of your logged-in library is highlighted

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/facets.inc