Bugzilla – Attachment 132560 Details for
Bug 30395
Internal server error at reserve/request.pl on a biblio with non-ISO formatted date in publicationyear
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30395: Fix TT filtering of publicationyear in reserve/request.tt
Bug-30395-Fix-TT-filtering-of-publicationyear-in-r.patch (text/plain), 1.71 KB, created by
Biblibre Sandboxes
on 2022-03-30 11:45:08 UTC
(
hide
)
Description:
Bug 30395: Fix TT filtering of publicationyear in reserve/request.tt
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2022-03-30 11:45:08 UTC
Size:
1.71 KB
patch
obsolete
>From d59a8ff7a98bed6fff4c377d2c80fc50db392654 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 29 Mar 2022 13:27:10 +0200 >Subject: [PATCH] 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@univ-lyon3.fr> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >index 6273c69c66..69e8657961 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt >@@ -595,7 +595,7 @@ > [% IF ( biblio.biblioitem.publicationyear ) %] > <li> > <span class="label">Publication year:</span> >- [% biblio.biblioitem.publicationyear | $KohaDates %] >+ [% biblio.biblioitem.publicationyear | html %] > </li> > [% END %] > </ol> >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30395
:
132390
|
132560
|
132698