{"id":"69584a0251eccfbd24748c34","title":"2025 11 24 Issue 90","path":"how-to/committee/release-notes/2025-11-24-issue-90","contentMarkdown":"# 24-Nov-2025 — exclude cancelled and deleted walks from leader counts in local mode [#90](https://github.com/Ramblers-GB/ngx-ramblers/issues/90)\n\n## [Commit 3ecdef3](https://github.com/Ramblers-GB/ngx-ramblers/commit/3ecdef37161f6180248bd0f362510ae9fce262e3)\n\n_____\n\n## Bug Fixes\n\n### [**agm-stats**](https://ngx-ramblers.org.uk/admin/members/agm-stats \"{{siteUrl}}\"): exclude cancelled and deleted walks from leader counts in local mode\n\nThe 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).\nThe 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.\nThis ensures leader walkCount matches the walks shown in detail tables.","contentHtml":"<h1>24-Nov-2025 — exclude cancelled and deleted walks from leader counts in local mode <a href=\"https://github.com/Ramblers-GB/ngx-ramblers/issues/90\">#90</a></h1>\n<h2><a href=\"https://github.com/Ramblers-GB/ngx-ramblers/commit/3ecdef37161f6180248bd0f362510ae9fce262e3\">Commit 3ecdef3</a></h2>\n<hr>\n<h2>Bug Fixes</h2>\n<h3><a href=\"https://ngx-ramblers.org.uk/admin/members/agm-stats\" title=\"{{siteUrl}}\"><strong>agm-stats</strong></a>: exclude cancelled and deleted walks from leader counts in local mode</h3>\n<p>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).\nThe fix: For local mode, change confirmedStatusMatch to exclude both &#39;cancelled&#39; and &#39;deleted&#39; status, matching the logic in classifyLocalWalk (line 823-829) which filters out cancelled walks from morning/evening classifications.\nThis ensures leader walkCount matches the walks shown in detail tables.</p>\n"}