Skip to content

Commit b7f02e0

Browse files
authored
fix: Merge pull request #61 from ElvisYang/master
fix: Fix string filter problem with multiple fields
2 parents 5f00c4f + ef6e6cc commit b7f02e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/convert-filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const convertFilter = (filter) => {
3333
}
3434
}
3535
return {
36+
...memo,
3637
[Op.and]: [
3738
...(memo[Op.and] || []),
3839
{
@@ -41,7 +42,6 @@ const convertFilter = (filter) => {
4142
},
4243
},
4344
],
44-
...memo,
4545
}
4646
}
4747
case 'number': {

0 commit comments

Comments
 (0)