mirror of
https://github.com/umami-software/umami.git
synced 2026-02-07 22:27:16 +01:00
Allow filter search for country and region.
This commit is contained in:
parent
2ed7628997
commit
a18d1a923c
5 changed files with 55 additions and 17 deletions
|
|
@ -49,13 +49,7 @@ export default async (req: NextApiRequestQueryBody<ValuesRequestQuery>, res: Nex
|
|||
return unauthorized(res);
|
||||
}
|
||||
|
||||
const values = await getValues(
|
||||
websiteId,
|
||||
FILTER_COLUMNS[type as string],
|
||||
startDate,
|
||||
endDate,
|
||||
search,
|
||||
);
|
||||
const values = await getValues(websiteId, FILTER_COLUMNS[type], startDate, endDate, search);
|
||||
|
||||
return ok(
|
||||
res,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue