From 88abfc8f296f789ff15b05f1243af9c66cdb5d46 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 Signed-off-by: Jonathan Druart (cherry picked from commit cee2e630b4e26ebfaef6cf3f41a79df3cf697b01) Signed-off-by: Fridolin Somers (cherry picked from commit 6ed7950630e4b0ca9d4629a726ee1b3909254cad) Signed-off-by: Andrew Fuerste-Henry --- .../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 %] +