Bug 12906: DataTables: Use -1 to specify the last column

It will avoid further changes.

Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2015-06-16 18:46:54 +02:00 committed by Tomas Cohen Arazi
parent d4bbb08eef
commit ff89e6234a
1 changed files with 1 additions and 1 deletions

View File

@ -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" ] }
]