mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 06:07:17 +01:00
Redesigned filter bar.
This commit is contained in:
parent
76cab03bb2
commit
6589bc6ecb
18 changed files with 86 additions and 38 deletions
|
|
@ -33,8 +33,8 @@ async function relationalQuery(
|
|||
|
||||
let excludeDomain = '';
|
||||
if (column === 'referrer_domain') {
|
||||
excludeDomain =
|
||||
'and (website_event.referrer_domain != {{websiteDomain}} or website_event.referrer_domain is null)';
|
||||
excludeDomain = `and website_event.referrer_domain != {{websiteDomain}}
|
||||
and website_event.referrer_domain is not null`;
|
||||
}
|
||||
|
||||
return rawQuery(
|
||||
|
|
@ -72,7 +72,7 @@ async function clickhouseQuery(
|
|||
|
||||
let excludeDomain = '';
|
||||
if (column === 'referrer_domain') {
|
||||
excludeDomain = 'and referrer_domain != {websiteDomain:String}';
|
||||
excludeDomain = `and referrer_domain != {websiteDomain:String} and referrer_domain != ''`;
|
||||
}
|
||||
|
||||
return rawQuery(
|
||||
|
|
@ -90,8 +90,8 @@ async function clickhouseQuery(
|
|||
offset ${offset}
|
||||
`,
|
||||
params,
|
||||
).then(a => {
|
||||
return Object.values(a).map(a => {
|
||||
).then((result: any) => {
|
||||
return Object.values(result).map((a: any) => {
|
||||
return { x: a.x, y: Number(a.y) };
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue