mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
fix: unable to sort by referrer
This commit is contained in:
parent
b494a2595d
commit
0349b82e9a
1 changed files with 1 additions and 1 deletions
|
|
@ -469,7 +469,7 @@ export function getPageviewMetrics(website_id, start_at, end_at, field, table, f
|
||||||
params.push(decodeURIComponent(url));
|
params.push(decodeURIComponent(url));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (referrer) {
|
if (referrer && table !== 'event') {
|
||||||
refFilter = `and referrer like $${params.length + 1}`;
|
refFilter = `and referrer like $${params.length + 1}`;
|
||||||
params.push(`%${decodeURIComponent(referrer)}%`);
|
params.push(`%${decodeURIComponent(referrer)}%`);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue