From ff89e6234ae0427b8a76ee8d6e758fff1bda179e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 16 Jun 2015 18:46:54 +0200 Subject: [PATCH] Bug 12906: DataTables: Use -1 to specify the last column It will avoid further changes. Signed-off-by: Jonathan Druart Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt index cb3d9f535b..519cfee9dc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoices.tt @@ -12,7 +12,7 @@ $(document).ready(function() { var resultst = $("#resultst").dataTable($.extend(true, {}, dataTablesDefaults, { bPaginate: false, aoColumnDefs: [ - { "bSortable": false, "aTargets": [1, 9] }, + { "bSortable": false, "aTargets": [1, -1] }, { "bVisible": false, "aTargets": [0] }, { "sType": "title-string", "aTargets" : [ "title-string" ] } ] -- 2.39.5