https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24559
Michal Denar <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #99626|0 |1 is obsolete| | Attachment #99785|0 |1 is obsolete| | --- Comment #6 from Michal Denar <[email protected]> --- Created attachment 99791 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99791&action=edit Bug 24559: Add 'year' type to Elasticsearch When indexing fields like 260c or 008_/7-10 we need a way to format these 'date' fields into years. Removing punctuation and coverting unknown values to 0 To test: 1 - Edit some records to have dates of publication in 008 like 202u 2021 203u 2039 2 - Also add to title for all records a unique word like 'octoparrot' 3 - Search for 'octoparrot' 4 - Sort records by publication/copyrightdate 5 - Confirm sorting is not as expected 6 - Apply patch 7 - Set copydate to 'year' type 8 - Reindex 9 - Repeat search 10 - Confirm sorting works as expected Nice work, Nick. Signed-off-by: Michal Denar <[email protected]> -- 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/
