mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-28 00:37:51 +02:00
fix: unable to sort by referrer
This commit is contained in:
parent
b494a2595d
commit
0349b82e9a
|
@ -469,7 +469,7 @@ export function getPageviewMetrics(website_id, start_at, end_at, field, table, f
|
|||
params.push(decodeURIComponent(url));
|
||||
}
|
||||
|
||||
if (referrer) {
|
||||
if (referrer && table !== 'event') {
|
||||
refFilter = `and referrer like $${params.length + 1}`;
|
||||
params.push(`%${decodeURIComponent(referrer)}%`);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user