Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur- committed Sep 14, 2023
1 parent 37c87e7 commit 3ee3b37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ export function ReadOnlyGridOrFilter() {
label="Search for first or last name"
onValueChanged={(e) => {
const firstNameFilter: any = {
t: 'p',
t: 'propertyString',
propertyId: 'firstName',
matcher: 'CONTAINS',
filterValue: e.detail.value,
};
const lasttNameFilter: any = {
t: 'p',
t: 'propertyString',
propertyId: 'lastName',
matcher: 'CONTAINS',
filterValue: e.detail.value,
};
setFilter({ t: 'o', children: [firstNameFilter, lasttNameFilter] });
setFilter({ t: 'or', children: [firstNameFilter, lasttNameFilter] });
}}
></TextField>
<AutoGrid pageSize={10} service={PersonService} model={PersonModel} filter={filter} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function ReadOnlyGridSinglePropertyFilter() {
label="Search for first name"
onValueChanged={(e) => {
const propertyFilter: any = {
t: 'p',
t: 'propertyString',
propertyId: 'firstName',
matcher: 'CONTAINS',
filterValue: e.detail.value,
Expand Down

0 comments on commit 3ee3b37

Please sign in to comment.