From 4c45285010e4ac9ff0bf2baa11ce6f07871e64c3 Mon Sep 17 00:00:00 2001 From: Harry Oosterveen Date: Thu, 27 Feb 2025 14:42:04 +0100 Subject: [PATCH] Fix https://github.com/umami-software/umami/issues/3255 --- src/lib/prisma.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/prisma.ts b/src/lib/prisma.ts index e2f50a6c..c8286082 100644 --- a/src/lib/prisma.ts +++ b/src/lib/prisma.ts @@ -192,7 +192,9 @@ async function parseFilters( options: QueryOptions = {}, ) { const website = await fetchWebsite(websiteId); - const joinSession = Object.keys(filters).find(key => SESSION_COLUMNS.includes(key)); + const joinSession = Object.keys(filters).find(key => + ['referrer', ...SESSION_COLUMNS].includes(key), + ); return { joinSession: