Skip to content

Commit

Permalink
Fixed #9836 - Filter Match All vs Match Any not working twice
Browse files Browse the repository at this point in the history
  • Loading branch information
yigitfindikli committed Feb 15, 2021
1 parent 3ebdf69 commit 6969c80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,6 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
}

if (this.lazy) {
console.log("hola?")
this.onLazyLoad.emit(this.createLazyLoadMetadata());
}
else if (this.value) {
Expand Down Expand Up @@ -1425,7 +1424,6 @@ export class Table implements OnInit, AfterViewInit, AfterContentInit, Blockable
}

createLazyLoadMetadata(): any {
console.log(this.first, this._first)
return {
first: this.first,
rows: this.rows,
Expand Down Expand Up @@ -4292,6 +4290,7 @@ export class ColumnFilter implements AfterContentInit {
onOperatorChange(value) {
(<FilterMetadata[]> this.dt.filters[this.field]).forEach(filterMeta => {
filterMeta.operator = value;
this.operator = value;
});

if (!this.showApplyButton) {
Expand Down

0 comments on commit 6969c80

Please sign in to comment.