From d255fcb45c8e35a6ba499466e74ceeb0f0acb245 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 7 Jun 2023 10:33:40 +0200 Subject: [PATCH] Bug 33888: (bug 22375 follow-up) Add missing USE KohaDates Bug 22375 added use of KohaDates without the USE statement. Test plan: Make sure you have overdues and go to circ/branchoverdues.pl Without this patch you get a 500 Template process failed: undef error - : filter not found at /kohadevbox/koha/C4/Templates.pm line 127 With this patch applied you can see the overdue list Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index bf203e0c28..75ccc305fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -1,6 +1,7 @@ [% USE raw %] [% USE Branches %] [% USE Koha %] +[% USE KohaDates %] [% PROCESS 'i18n.inc' %] [% INCLUDE 'doc-head-open.inc' %] Overdues at [% Branches.GetLoggedInBranchname | html %] › Circulation › Koha -- 2.30.2