From c1768e08cd82c8d2eaa9ac667004b8ad6ab36faf 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 Signed-off-by: Kyle M Hall (cherry picked from commit 2ee5cd27129d487fee26987118a8675033139c53) Signed-off-by: Katrin Fischer --- .../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 f3e843018c..398666bb79 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.39.5