plan listing filter > fix empty like on query
This commit is contained in:
parent
1515a761a5
commit
8354dd3b31
|
@ -298,7 +298,7 @@ export class PlanListingComponent extends BaseListingComponent<BasePlan, PlanLoo
|
||||||
}
|
}
|
||||||
|
|
||||||
controlModified(): void {
|
controlModified(): void {
|
||||||
this.lookup.like = this.formGroup.get("like").value;
|
this.lookup.like = this.formGroup.get("like").value != '' ? this.formGroup.get('like').value : null;
|
||||||
this.lookup.page = { size: this.pageSize, offset: 0 };
|
this.lookup.page = { size: this.pageSize, offset: 0 };
|
||||||
this.filterChanged(this.lookup, true);
|
this.filterChanged(this.lookup, true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue