Skip to content

Commit 25c4ef6

Browse files
committed
fix(@cubejs-backend/schema-compiler): TypeError: methods.filter is not a function
1 parent 9a47fe9 commit 25c4ef6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cubejs-schema-compiler/adapter/BaseQuery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1931,7 +1931,7 @@ class BaseQuery {
19311931
if (!paramValue) {
19321932
throw new UserError(`Filter for ${column} is required`);
19331933
}
1934-
return methods.filter(column);
1934+
return methods(paramValue).filter(column);
19351935
},
19361936
unsafeValue: () => paramValue
19371937
});

0 commit comments

Comments
 (0)