fix: unable to sort by referrer
This commit is contained in:
@@ -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)}%`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user