Like in patron searches Bug 10902, use class 'currentlibrary' to highlight logged-in library in facets
Created attachment 156310 [details] [review] 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
Created attachment 156430 [details] [review] 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>
Created attachment 157238 [details] [review] 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>
Nice little enhancement. Works as desired and causes no regressions.. QA scripts happy. Passing QA
Please rebase ASAP. Thanks!
Created attachment 157803 [details] [review] 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>
Rebased
Pushed to master for 23.11. Nice work everyone, thanks!
Enhancement not pushed to 23.05.x
I reckon this one could be the cause of one of our selenium failures.. investigating now.
Ignore that.. it's not this one.
Already in the manual