mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 18:11:32 +00:00
d613d98c72
The stats service compared statuses using exact string match against PascalCase domain constants, but the database may contain legacy lowercase values. This caused the dashboard to show duplicate pie chart segments (green "Active" + gray "active") and incorrect summary counts. Use strings.ToLower() normalization in both GetCertificatesByStatus and GetDashboardSummary to handle any case variant from the database. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>