@@ -, +, @@
- On batch modification and batch deletion, submit multiple barcodes or
item numbers. On the results page the title column has been configured
to use the "anti-the" filter to exclude articles from sorting. Sorting
on all columns should work correctly.
---
.../intranet-tmpl/prog/en/js/pages/batchMod.js | 3 ++-
.../prog/en/modules/tools/batchMod-del.tt | 10 ++++------
.../prog/en/modules/tools/batchMod-edit.tt | 9 +++------
3 files changed, 9 insertions(+), 13 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/js/pages/batchMod.js
+++ a/koha-tmpl/intranet-tmpl/prog/en/js/pages/batchMod.js
@@ -100,7 +100,8 @@ function hideAllColumns(){
$("#itemst").dataTable($.extend(true, {}, dataTablesDefaults, {
"sDom": 't',
"aoColumnDefs": [
- { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false }
+ { "aTargets": [ 0 ], "bSortable": false, "bSearchable": false },
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
],
"bPaginate": false,
}));
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-del.tt
@@ -3,10 +3,8 @@
[% INCLUDE 'doc-head-close.inc' %]
+[% INCLUDE 'datatables.inc' %]
-
-[% INCLUDE 'datatables-strings.inc' %]
-
+[% INCLUDE 'datatables.inc' %]
-
-[% INCLUDE 'datatables-strings.inc' %]
-
-