mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00: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…
Reference in a new issue