[Koha-bugs] [Bug 30395] Internal server error at reserve/request.pl on a biblio with non-ISO formatted date in publicationyear

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 13:45:08 CEST 2022


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

sandboxes at biblibre.com <sandboxes at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #132390|0                           |1
        is obsolete|                            |

--- Comment #2 from sandboxes at biblibre.com <sandboxes at biblibre.com> ---
Created attachment 132560
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=132560&action=edit
Bug 30395: Fix TT filtering of publicationyear in reserve/request.tt

biblioitems.publicationyear is not a date (it can be, but we cannot
guarantee that) so the $KohaDates filter should not be used on this data

Test plan:
1. Verify that in the default MARC framework there is a field linked to
   biblioitems.publicationyear (typically it's 210$d for UNIMARC)
2. Create a biblio with a non ISO-formatted date in this field. It
   can be a "YYYY" year for instance. Create an item for this biblio.
3. Try to place a hold on this biblio. If it works, you can sign off

Signed-off-by: Sonia <sonia.bouis at univ-lyon3.fr>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list