[Koha-bugs] [Bug 36437] New: Add publication year facet to Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 27 09:00:35 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36437

            Bug ID: 36437
           Summary: Add publication year facet to Elasticsearch
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: schodkowy.omegi-0r at icloud.com
          Reporter: schodkowy.omegi-0r at icloud.com

Similarly to Bug 18213, it'd be nice to add publication date facet. It seems to
work quite nicely, so why not? Our librarians say it's super useful.

I've seen one library implement it in their fork, the only difference is that
they sort the publication year facet in reverse incremental order (so from
newest to oldest year instead of oldest to newest), but I think this would
require an explicit check in the code, and I wasn't sure if that'd be fine...

To test, one should have Elasticsearch enabled and re-generate the mappings
from file and reindex as described in Bug 18213.

Then confirm that the facet is visible and working:
- in OPAC search
- in intranet search
- in intranet settings, under Elasticsearch mapping settings page, biblio tab,
publication year facet should be visible at the bottom where you set facet
order, with correct label; you should be able to change the order normally as
expected

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list