24-Nov-2025 — exclude cancelled and deleted walks from leader counts in local mode #90
Commit 8c67eed
Bug Fixes
agm-stats: exclude cancelled and deleted walks from leader counts in local mode
The issue: Walk leader counts only matched confirmed walks, but detail tables showed all non-cancelled, non-deleted walks. This caused discrepancies (e.g., Amanda G showing 2 walks in count but 5 in detail, then 6 after first fix). The fix: For local mode, change confirmedStatusMatch to exclude both 'cancelled' and 'deleted' status, matching the logic in classifyLocalWalk (line 823-829) which filters out cancelled walks from morning/evening classifications. This ensures leader walkCount matches the walks shown in detail tables.