From 4d2afd4bf0c9623216540c1ff54a49f24f225ffa Mon Sep 17 00:00:00 2001 From: Lucas Gass <lucas@bywatersolutions.com> Date: Thu, 9 Jan 2020 17:07:59 +0000 Subject: [PATCH] Bug 24390: Add Item Total to Rotating collections Signed-off-by: Jessica Zairo <jzairo@bywatersolutions.com> --- .../intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt index bc11009ddc..d25b4cc2f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt @@ -94,6 +94,10 @@ <div> <h2>Items in <i>[% colTitle | html %]</i></h2> [% IF ( collectionItemsLoop ) %] + [% FOREACH collectionItemsLoo IN collectionItemsLoop %] + [% totalItems = loop.size %] + [% END %] + <h3>Total Items: [% totalItems | html%]</h3> <table> <tr> <th>Title</th> -- 2.11.0