Move trip new-country filtering into stats
This commit is contained in:
parent
ddfa77b152
commit
f22772d12d
5 changed files with 27 additions and 15 deletions
|
|
@ -32,4 +32,4 @@ This is a personal agenda web application built with Flask that tracks various e
|
|||
- 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`.
|
||||
- Trip stats new-country badges come from `agenda.stats.calculate_yearly_stats` via `year_stats.new_countries` (first-visit year, excluding `PREVIOUSLY_VISITED`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue