Fix trip stats new-country counting

This commit is contained in:
Edward Betts 2026-01-15 22:43:22 +00:00
parent 91a74fd887
commit 8a0df48a73
5 changed files with 61 additions and 18 deletions

View file

@ -30,3 +30,6 @@ This is a personal agenda web application built with Flask that tracks various e
- Avoid committing unrelated untracked files (e.g., `node_modules/`, build artifacts)
- Only commit relevant project files
- Personal data directory (`personal-data/`) is excluded from git
## Notes
- Trip stats new-country badges come from `agenda.stats.calculate_yearly_stats` via `year_stats.new_countries` (first-visit year); `templates/trip/stats.html` filters against `PREVIOUSLY_VISITED`.