mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
fix filter params
This commit is contained in:
parent
95d824542f
commit
7e112b8469
6 changed files with 11 additions and 5 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue