mirror of
https://github.com/umami-software/umami.git
synced 2026-02-11 16:17:13 +01:00
Refactor part 2: Electric Boogaloo. Standardize way of passing filter parameters.
This commit is contained in:
parent
f26f1b0581
commit
cdf391d5c2
90 changed files with 867 additions and 709 deletions
|
|
@ -136,7 +136,7 @@ function getQueryParams(filters: Record<string, any>) {
|
|||
};
|
||||
}
|
||||
|
||||
async function parseFilters(filters: Record<string, any>, options?: QueryOptions) {
|
||||
function parseFilters(filters: Record<string, any>, options?: QueryOptions) {
|
||||
return {
|
||||
filterQuery: getFilterQuery(filters, options),
|
||||
dateQuery: getDateQuery(filters),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue