Skip to content

Commit

Permalink
fix #3599 table using multiple column filters
Browse files Browse the repository at this point in the history
  • Loading branch information
jtommy committed Nov 27, 2021
1 parent a980af2 commit 5f8e126
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/table/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1157,11 +1157,7 @@ export default {
isRowFiltered(row) {
for (const key in this.filters) {
// remove key if empty
if (!this.filters[key]) {
delete this.filters[key]
return true
}
if (!this.filters[key]) continue
const input = this.filters[key]
const column = this.newColumns.filter((c) => c.field === key)[0]
if (column && column.customSearch && typeof column.customSearch === 'function') {
Expand Down

0 comments on commit 5f8e126

Please sign in to comment.