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>
(cherry picked from commit 2ee5cd2712)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
This commit is contained in:
parent
70c55a6d69
commit
c1768e08cd
|
|
@ -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 New Issue