From fd391692792d9056e66e7a15f2ecb44a79211dda 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 --- .../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 %] -- 2.20.1