Lines 347-356
function _dt_visibility(table_settings, table_dt) {
Link Here
|
347 |
} |
347 |
} |
348 |
|
348 |
|
349 |
var default_column_defs = [ |
349 |
var default_column_defs = [ |
350 |
{ aTargets: ["string-sort"], sType: "string" }, |
350 |
{ targets: ["string-sort"], type: "string" }, |
351 |
{ aTargets: ["anti-the"], sType: "anti-the" }, |
351 |
{ targets: ["anti-the"], type: "anti-the" }, |
352 |
{ aTargets: ["NoSort"], bSortable: false, bSearchable: false }, |
352 |
{ targets: ["NoSort"], orderable: false, searchable: false }, |
353 |
]; |
353 |
]; |
|
|
354 |
if (settings["columnDefs"] === undefined) { |
355 |
settings["columnDefs"] = default_column_defs; |
356 |
} else { |
357 |
settings["columnDefs"] = |
358 |
settings["columnDefs"].concat(default_column_defs); |
359 |
} |
354 |
|
360 |
|
355 |
$(this).data("bKohaColumnsUseNames", settings.bKohaColumnsUseNames); |
361 |
$(this).data("bKohaColumnsUseNames", settings.bKohaColumnsUseNames); |
356 |
var table = $(this).dataTable(settings); |
362 |
var table = $(this).dataTable(settings); |
357 |
- |
|
|