[Koha-bugs] [Bug 24674] Uncertain years for publicationyear/copyrightdate -- corrected
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Feb 18 15:15:07 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24674
--- Comment #10 from Janusz Kaczmarek <januszop at gmail.com> ---
(In reply to Katrin Fischer from comment #8)
> I am wondering if this could be confusing to users as we display the
> information from publicationyear/copyrightdate in quite a lot of places. We
> just recently looked into the logic here too:
>
> 1999- = 1999
> 1999-2009 = 1999
> 19xx (very common here) = NULL
>
> So the user will see the first "4 digits" as year when not looking at the
> detail page.
>
> While publicationyear is text in the database (used by UNIMARC),
> copyrightdate is a smallint(6) and can only store numeric values. I wonder
> if we want or are treating both fields the same currently and if we should
> be less restrictive for publicationyear?
>
> I'd love to get some more eyes on this - from the standard I think you are
> right. It's just the issue of display that worries me a little.
I get the point -- this is an important design question. I totally agree, this
effect can be and is misleading for the users.
But here I just wanted to get rid of the annoying errors in errorlog which are
caused by the current version of the _adjust_pubyear function. (If it
transforms [198-?] into 1980, it should do the same with [198-].
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list