mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 00:27:11 +01:00
remove www. prefix from hostname during comparison. Closes #3256
This commit is contained in:
parent
b84942b6da
commit
9339383497
5 changed files with 5 additions and 5 deletions
|
|
@ -108,7 +108,7 @@ function getFilterQuery(filters: Record<string, any>, options: QueryOptions = {}
|
|||
|
||||
if (name === 'referrer') {
|
||||
arr.push(
|
||||
`and (website_event.referrer_domain != website_event.hostname or website_event.referrer_domain is null)`,
|
||||
`and (website_event.referrer_domain != regexp_replace(website_event.hostname, '^www.', '') or website_event.referrer_domain is null)`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue