From 30235697fec467e9d231801cd2b90fc91d594cd7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 28 Jul 2021 09:46:45 +0200 Subject: [PATCH] Bug 28445: Don't display the items if not finished yet Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart --- .../background_jobs/batch_item_record_modification.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc index 25bf4f8c24..cbefbbe416 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/background_jobs/batch_item_record_modification.inc @@ -30,7 +30,9 @@ [% END %] - [% PROCESS items_table_batchmod headers => item_header_loop, items => items, display_columns_selection => 1 %] + [% IF items.size %] + [% PROCESS items_table_batchmod headers => item_header_loop, items => items, display_columns_selection => 1 %] + [% END %] [% END %] [% BLOCK js %]