plan listing filter > fix empty like on query

This commit is contained in:
mchouliara 2024-08-29 13:17:42 +03:00
parent 1515a761a5
commit 8354dd3b31
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ export class PlanListingComponent extends BaseListingComponent<BasePlan, PlanLoo
}
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.filterChanged(this.lookup, true);
}