mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
Fixed query parameter filter.
This commit is contained in:
parent
358519dddd
commit
64b040c865
3 changed files with 5 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ export const percentFilter = data => {
|
|||
export const paramFilter = data => {
|
||||
const map = data.reduce((obj, { x, y }) => {
|
||||
try {
|
||||
const searchParams = new URLSearchParams(x.split('?')[1]);
|
||||
const searchParams = new URLSearchParams(x);
|
||||
|
||||
for (const [key, value] of searchParams) {
|
||||
if (!obj[key]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue