Bug 14510: (QA followup) fix columns settings in other pages
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
This commit is contained in:
parent
84e5c99d23
commit
811125e543
2 changed files with 3 additions and 2 deletions
|
@ -10,7 +10,7 @@ function KohaTable(selector, dt_parameters, columns_settings) {
|
|||
var excluded_ids = [];
|
||||
$(columns_settings).each( function() {
|
||||
var named_id = $( 'thead th[data-colname="' + this.columnname + '"]', selector ).index( 'th' );
|
||||
var used_id = this.columnname ? named_id : id;
|
||||
var used_id = dt_parameters.bKohaColumnsUseNames ? named_id : id;
|
||||
if ( used_id == -1 ) return;
|
||||
|
||||
if ( this['is_hidden'] == "1" ) {
|
||||
|
|
|
@ -58,7 +58,8 @@ $(document).ready(function(){
|
|||
],
|
||||
'bPaginate': false,
|
||||
'bInfo': false,
|
||||
"bAutoWidth": false
|
||||
"bAutoWidth": false,
|
||||
"bKohaColumnsUseNames": true
|
||||
}, columns_settings);
|
||||
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue