From d73bf49917880b16e637badb00b648c7434e7733 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 1 Sep 2020 15:47:27 +0200 Subject: [PATCH] Bug 26336: Disable 'Item processing' dropdown if no item If there is no item to process and they have been ignored during the stage step, we should not let the user modify the dropdown value Test plan: 0 - Check the count of import_items SELECT COUNT(*) FROM import_items; 1 - Import a marc file with items , process the items 2 - Check the count of import items, it has increased 3 - Stage the file again, do not process items 4 - Count of import_items has not increased 5 - Manage the stage batch Confirm that you cannot modify the "Item processing" value Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc index 9b5486980d..b021b541fe 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/tools-item-action.inc @@ -1,4 +1,8 @@ - + [% ELSE %] +