From 706e1380f9c5ac3afc9e3b61efc1031e8ff68dcd Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 10 Mar 2014 19:05:12 +0000 Subject: [PATCH] Bug 11605: (follow-up) use DT defaults for the new Ajax staged batch page Signed-off-by: Galen Charlton --- .../prog/en/modules/tools/manage-marc-import.tt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt index 0098751f5e..ec8c789a63 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt @@ -26,9 +26,7 @@ $(document).ready(function(){ }); [% IF import_batch_id %] - $("#records-table").dataTable({ - "aLengthMenu": [[10, 15, 20, 25, 50, 100, -1], [10, 15, 20, 25, 50, 100, _("All")]], - "iDisplayLength" : 20, + $("#records-table").dataTable($.extend(true, {}, dataTablesDefaults, { "bAutoWidth": false, "bFilter": false, "bProcessing": true, @@ -106,7 +104,7 @@ $(document).ready(function(){ + aData['matched'] + '">' + aData['matched'] + '' ); }, - }); + })); [% END %] }); -- 2.39.2