fix filter params
This commit is contained in:
1 parent
95d824542f
commit
7e112b8469
6 files changed
+11
-5
No files matched your search
+1
-1
@@ -70,7 +70,7 @@ function getFilterQuery(filters = {}, params = []): string {
|
||||
|
||||
if (filter !== undefined) {
|
||||
const column = FILTER_COLUMNS[key] || key;
|
||||
arr.push(`and ${column}=$${params.length + 1}`);
|
||||
arr.push(`and ${column}={{${key}}}`);
|
||||
params.push(decodeURIComponent(filter));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user