Lines 10-16
function KohaTable(selector, dt_parameters, columns_settings) {
Link Here
|
10 |
var excluded_ids = []; |
10 |
var excluded_ids = []; |
11 |
$(columns_settings).each( function() { |
11 |
$(columns_settings).each( function() { |
12 |
var named_id = $( 'thead th[data-colname="' + this.columnname + '"]', selector ).index( 'th' ); |
12 |
var named_id = $( 'thead th[data-colname="' + this.columnname + '"]', selector ).index( 'th' ); |
13 |
var used_id = this.columnname ? named_id : id; |
13 |
var used_id = dt_parameters.bKohaColumnsUseNames ? named_id : id; |
14 |
if ( used_id == -1 ) return; |
14 |
if ( used_id == -1 ) return; |
15 |
|
15 |
|
16 |
if ( this['is_hidden'] == "1" ) { |
16 |
if ( this['is_hidden'] == "1" ) { |