Global filter is not applied when filter on column (filter-column extention) #3015
Labels
duplicate
Issues that are duplicated with other issues.
filter-control
Issues for the filter-control extension.
When filter with
.search
text box AND column filter, the result depend on the order we put text in search box.Type data in column filter the in global search box is ok.
Type data in global search box then in column fllter: Only the column filter is applied
Step to reproduce in this fiddle:
Alice
in the global search box=> Alice displayed, ok
Bob
in the Name column filter=> Bob displayed, not ok, no results should appear in this case
I patched temporarly my code with this:
Pass an
null
currentTarget to the onSearch event handler inbootstrap-table-filter-control.js:onColumnSearch
In the onSearch event handler, use the global search text box if currentTarget is null:
This is not a perfect solution because it break the trimOnSearch for column filter.
The text was updated successfully, but these errors were encountered: