From 7f4c2b6fb70f52e4ba85692b7f1bd9f9f4f52a86 Mon Sep 17 00:00:00 2001 From: Karl-Aksel Puulmann Date: Tue, 26 Nov 2024 17:03:01 +0200 Subject: [PATCH] Fix debug controller domain filtering (#4858) --- lib/plausible_web/controllers/debug_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible_web/controllers/debug_controller.ex b/lib/plausible_web/controllers/debug_controller.ex index 1dcf5fbddf..7b807816e1 100644 --- a/lib/plausible_web/controllers/debug_controller.ex +++ b/lib/plausible_web/controllers/debug_controller.ex @@ -65,7 +65,7 @@ defmodule PlausibleWeb.DebugController do where( q, [l], - fragment("JSONExtractInt(?, \'site_domain\') = ?", l.log_comment, ^site_domain) + fragment("JSONExtractString(?, \'site_domain\') = ?", l.log_comment, ^site_domain) ) defp filter_by_params(q, conn, _),