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

--- Comment #2 from Nick Clemens <[email protected]> ---
Created attachment 99626
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=99626&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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
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/

Reply via email to