From 344e091f407d885f0fcb5af752409a09ebf56999 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Fri, 17 Dec 2021 21:09:19 +0000 Subject: [PATCH] Bug 29729: Build a tr for each subscription To test: 1 To to Reports > Serials > Serials subscriptions and run the report while selecting a branch without subscriptions. 2 Notice console error 3 If you run the report for a branch WITH subscriptions it works just fine. 4 Apply patch 5 Do 1 again, no console error and show no see 'No entries to show' 6 Make sure it also works when you have a few subscriptions for a branch as well Signed-off-by: Andrew Fuerste-Henry Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers Signed-off-by: Kyle M Hall --- .../intranet-tmpl/prog/en/modules/reports/serials_stats.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt index dd7c0e23ce..f8d2304cfc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/serials_stats.tt @@ -52,8 +52,8 @@ - [% FOREACH data IN datas %] + [% data.name | html %] [% data.title | html %] [% data.subscriptionid | html %] @@ -68,7 +68,7 @@ Expired [% END %] - + [% END %] -- 2.39.5