[Koha-bugs] [Bug 24807] Add "year" type to improve sorting by publication date
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Apr 8 12:01:53 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24807
--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
Hi David,
I like your patch better than mine (bug 24559) but I do think we should support
uncertain dates and ranges in these fields as they do meet MARC standards.
195u isn't exactly 1950, but if looking for a range from 1940-1960 I would
expect it to return so I think indexing as 1950 is reasonable
In testing your code did not work with dates like c1964
I added tests and made some adjustment. The array stuff may need work,
depending on if we would support being a year field and having non-filing
characters, but I can't see a reason to do that.
Please let me know what you think of these patches.
-Nick
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list