From 03b7df05434c6c13e3a068d5f4df33580d5f11e6 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Fri, 2 Dec 2016 19:37:07 +0000 Subject: [PATCH] Bug 15711: Follow up batch_id not used Changed batch_id to image_id in the template, as the multiparam would catch the array case. TEST PLAN --------- 1) attempt to delete a selected item, but get a warning. 2) apply this follow up 3) attempt to delete a selected item, it deletes. 4) run koha qa test tools Signed-off-by: Mark Tompsett Signed-off-by: Owen Leonard Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt index f3e8430..398666b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt @@ -32,7 +32,7 @@ return {images:images, image_ids:image_ids}; } else if (document.delete_images.action.checked){ - return {images:"batch_id="+document.delete_images.action.value, image_ids:document.delete_images.action.value}; + return {images:"image_id="+document.delete_images.action.value, image_ids:document.delete_images.action.value}; } return (-1); } -- 2.1.4