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