Skip to content

Commit

Permalink
fix: set operators value js action
Browse files Browse the repository at this point in the history
  • Loading branch information
gjulivan committed Oct 31, 2024
1 parent 68f0ba8 commit c7f9247
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ export class NumberFilterController {
this.filter.reset();
return;
}
if (params.operators) {
this.filter.filterFunction = params.operators;
}
this.filter.arg1.value = params.numberValue;
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ export class StaticFilterController {
if (!this.multiselect) {
value = value.slice(0, 1);
}
if (params.operators) {
this._filterOptions = params.operators;
}
this.store.replace(value);
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ export class StringFilterController {
this.filter.reset();
return;
}
if (params.operators) {
this.filter.filterFunction = params.operators;
}
this.filter.arg1.value = params.stringValue;
};
}

0 comments on commit c7f9247

Please sign in to comment.