Skip to content

Commit

Permalink
fix populating filter complex ui with in query filters
Browse files Browse the repository at this point in the history
  • Loading branch information
nh758 committed Jan 8, 2025
1 parent 6767c64 commit b8abc55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions AppBuilder/platform/FilterComplex.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ function _toInternal(cond, fields = []) {
};

if (Array.isArray(cond.value)) cond.includes = cond.value;
if (
cond.rule === "in_query_field" ||
cond.rule === "not_in_query_field"
) {
cond.includes = cond.value.split(":");
}

// else cond.includes = cond.value?.split?.(/,|:/) ?? [];

// if (field?.key == "date" || field?.key == "datetime") {
Expand Down

0 comments on commit b8abc55

Please sign in to comment.