Summary: | Highlight logged-in library in facets | ||
---|---|---|---|
Product: | Koha | Reporter: | Fridolin Somers <fridolin.somers> |
Component: | Templates | Assignee: | Fridolin Somers <fridolin.somers> |
Status: | RESOLVED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | caroline.cyr-la-rose, martin.renvoize, tomascohen |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31742 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31206 |
||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Caroline Cyr La Rose | Documentation submission: | https://gitlab.com/koha-community/koha-manual/-/merge_requests/773 |
Text to go in the release notes: |
Like in patron searches, records search now uses class 'currentlibrary' to highlight logged-in library in facets.
|
Version(s) released in: |
23.11.00
|
Circulation function: | |||
Bug Depends on: | 10902 | ||
Bug Blocks: | 37231 | ||
Attachments: |
Bug 34940: Highlight logged-in library in facets
Bug 34940: Highlight logged-in library in facets Bug 34940: Highlight logged-in library in facets Bug 34940: Highlight logged-in library in facets |
Description
Fridolin Somers
2023-09-27 21:25:29 UTC
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 |