From bf24665243c10a14d0b4da685bd2c24db08bae70 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 --- 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 cb3d9f5..519cfee 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.1.0