https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43436 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 211651 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=211651&action=edit Bug 43436: Update default mappings to use type year for date-of-publication index Bug 24807 added type "year" for indexes to help handle days with with "u" in them correctly. With this type the sorting by year in the result list will work correctly for dates like "19uu" or "07uu" in 008 4-10 (Date 1). To test: - Make sure your instance is using Elasticsearch. - Edit some records to include years below 1000 and dates using 'u' in your result list. - Verify that results don't sort correctly. Example: 07uu will sort as 7, instead of 700. - Apply patch - Reset mappings and reindex - Verify sorting now works! -- You are receiving this mail because: You are watching all bug changes.