From 679cb3999f01dda76c168bde4e37c5d203348518 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Tue, 23 Oct 2018 13:17:06 +0000 Subject: [PATCH] Bug 21511: (RM follow-up) Use orders.count instead of new variable Signed-off-by: Nick Clemens --- .../prog/en/modules/serials/subscription-detail.tt | 4 ++-- serials/subscription-detail.pl | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt index a5dbfd4067..a1a218a66d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt @@ -65,7 +65,7 @@
  • Planning
  • Issues
  • Summary
  • - [% IF order_count %] + [% IF orders.count %]
  • Acquisition details
  • @@ -345,7 +345,7 @@ - [% IF order_count %] + [% IF orders.count %]

    Acquisition details

    diff --git a/serials/subscription-detail.pl b/serials/subscription-detail.pl index 2e1139b090..4eefe181f3 100755 --- a/serials/subscription-detail.pl +++ b/serials/subscription-detail.pl @@ -148,7 +148,6 @@ $template->param( irregular_issues => scalar @irregular_issues, default_bib_view => $default_bib_view, orders => $orders, - order_count => $orders->count, (uc(C4::Context->preference("marcflavour"))) => 1, ); -- 2.39.5