From 355b173070dcc1bbf1e67e26cfb6488cc1eafb7f Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Mon, 6 Apr 2026 23:05:00 -0400 Subject: [PATCH] Fix Created Today tile showing fewer tickets than stat count Tile click was omitting status param so controller applied default Open/Pending/In Progress filter, hiding closed/other-status tickets created today. Pass show_all=1 instead to match the stat count which includes all statuses. Co-Authored-By: Claude Sonnet 4.6 --- views/DashboardView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/DashboardView.php b/views/DashboardView.php index 75f3df7..b1f5f49 100644 --- a/views/DashboardView.php +++ b/views/DashboardView.php @@ -1211,7 +1211,7 @@ document.querySelectorAll('.lt-stat-card').forEach(function (card) { if (card.classList.contains('stat-open')) url += 'status=Open,Pending,In+Progress'; else if (card.classList.contains('stat-critical')) url += 'status=Open,Pending,In+Progress&priority_max=1'; else if (card.classList.contains('stat-unassigned')) url += 'status=Open,Pending,In+Progress&assigned_to=unassigned'; - else if (card.classList.contains('stat-today')) url += 'created_from=' + today + '&created_to=' + today; + else if (card.classList.contains('stat-today')) url += 'show_all=1&created_from=' + today + '&created_to=' + today; else if (card.classList.contains('stat-resolved')) url += 'status=Closed&closed_from=' + today + '&closed_to=' + today; else return; window.location.href = url;