mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 23:57:12 +01:00
fix region / city filters
This commit is contained in:
parent
672608b2f5
commit
43499eb4fd
5 changed files with 18 additions and 22 deletions
|
|
@ -21,8 +21,7 @@ export interface WebsitePageviewRequestQuery {
|
|||
browser?: string;
|
||||
device?: string;
|
||||
country?: string;
|
||||
subdivision1?: string;
|
||||
subdivision2?: string;
|
||||
region: string;
|
||||
city?: string;
|
||||
}
|
||||
|
||||
|
|
@ -46,8 +45,7 @@ export default async (
|
|||
browser,
|
||||
device,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
region,
|
||||
city,
|
||||
} = req.query;
|
||||
|
||||
|
|
@ -78,8 +76,7 @@ export default async (
|
|||
browser,
|
||||
device,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
region,
|
||||
city,
|
||||
},
|
||||
}),
|
||||
|
|
@ -96,8 +93,7 @@ export default async (
|
|||
browser,
|
||||
device,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
region,
|
||||
city,
|
||||
},
|
||||
}),
|
||||
|
|
|
|||
|
|
@ -18,8 +18,7 @@ export interface WebsiteStatsRequestQuery {
|
|||
browser: string;
|
||||
device: string;
|
||||
country: string;
|
||||
subdivision1: string;
|
||||
subdivision2: string;
|
||||
region: string;
|
||||
city: string;
|
||||
}
|
||||
|
||||
|
|
@ -43,8 +42,7 @@ export default async (
|
|||
browser,
|
||||
device,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
region,
|
||||
city,
|
||||
} = req.query;
|
||||
|
||||
|
|
@ -73,8 +71,7 @@ export default async (
|
|||
browser,
|
||||
device,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
region,
|
||||
city,
|
||||
},
|
||||
});
|
||||
|
|
@ -91,8 +88,7 @@ export default async (
|
|||
browser,
|
||||
device,
|
||||
country,
|
||||
subdivision1,
|
||||
subdivision2,
|
||||
region,
|
||||
city,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue