[Koha-bugs] [Bug 24807] New: Add "year" type to improve sorting by publication date
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Mar 5 10:40:55 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24807
Bug ID: 24807
Summary: Add "year" type to improve sorting by publication date
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Searching - Elasticsearch
Assignee: koha-bugs at lists.koha-community.org
Reporter: glasklas at gmail.com
When sorting on date-of-publication (a year, field 008, positions 7-10), the
current behavior when the field contains an invalid year (containing word
characters like "uuuu" or just whitespace), these results appear first when
sorting in descending order. Invalid values like these should really not be
indexed at all. If so (having null values instead) they will always appear last
when sorting, regardless of sort order. This fix adds a "year" search field
type, that will reject any non-year values, resulting in a more user friendly
sorting behavior.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list