mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
Refactored query filters.
This commit is contained in:
parent
b65c478689
commit
157862834d
16 changed files with 118 additions and 147 deletions
|
|
@ -73,6 +73,12 @@ function getFilterQuery(filters = {}): string {
|
|||
arr.push(`and ${column}={{${key}}}`);
|
||||
}
|
||||
|
||||
if (key === 'referrer') {
|
||||
arr.push(
|
||||
'and (website_event.referrer_domain != {{domain}} or website_event.referrer_domain is null)',
|
||||
);
|
||||
}
|
||||
|
||||
return arr;
|
||||
}, []);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue