fix filter params

This commit is contained in:
Francis Cao committed 2023-07-31 11:42:47 -07:00
1 parent 95d824542f
commit 7e112b8469
6 files changed
+11 -5

No files matched your search

+1 -1
View File
@@ -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));
}