fix: unable to sort by referrer
parent
b494a2595d
commit
0349b82e9a
|
@ -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 New Issue