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 <noreply@anthropic.com>
This commit is contained in:
@@ -1211,7 +1211,7 @@ document.querySelectorAll('.lt-stat-card').forEach(function (card) {
|
|||||||
if (card.classList.contains('stat-open')) url += 'status=Open,Pending,In+Progress';
|
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-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-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 if (card.classList.contains('stat-resolved')) url += 'status=Closed&closed_from=' + today + '&closed_to=' + today;
|
||||||
else return;
|
else return;
|
||||||
window.location.href = url;
|
window.location.href = url;
|
||||||
|
|||||||
Reference in New Issue
Block a user