@@ -, +, @@ when no records have been passed in --> 0 = 0 --> it thinks it has been successful. This patch adds a check Delete selected records records have been selected. should still work --- .../prog/en/modules/tools/batch_delete_records.tt | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt @@ -60,6 +60,26 @@ $(document).ready(function() { "aaSorting": [], "bPaginate": false })); + + function Checkbox(){ + var form = document.getElementById('selectrecords'); + var inputs = form.getElementsByTagName('input'); + var checked = false; + for (var i=0; i @@ -150,7 +170,7 @@ $(document).ready(function() { | Select without items | Select without holds -
+ --