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 <mtompset@hotmail.com> Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
bd3879e037
commit
2ee5cd2712
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue