Bug 34913: Fix Activate/Deactive filters with table_filters.js
This change prevents columnFilter from being called twice. If it's called twice, it compromises the formatting of the filters. Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
63183059dd
commit
a3accea1dd
1 changed files with 0 additions and 6 deletions
|
@ -19,12 +19,6 @@ function activate_filters(id, bShowFilters) {
|
|||
,'bFiltersAlreadyActivated': false
|
||||
});
|
||||
filters_row.addClass('columnFilter');
|
||||
} else {
|
||||
table.dataTable().columnFilter({
|
||||
'sPlaceHolder': 'head:after'
|
||||
, "columns": aoColumns
|
||||
,'bFiltersAlreadyActivated': true
|
||||
});
|
||||
}
|
||||
|
||||
if (bShowFilters) {
|
||||
|
|
Loading…
Reference in a new issue