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: [email protected]
Reporter: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/