feat: valid overdue filter

This commit is contained in:
2025-11-08 10:42:47 +01:00
parent 95b8536aa3
commit 64380dab6a

View File

@@ -52,7 +52,7 @@ def index() -> str:
search_query = request.args.get('search', '') search_query = request.args.get('search', '')
# Validate filter type # Validate filter type
valid_filters = ['all', 'today', 'upcoming', 'active', 'completed'] valid_filters = ['all', 'today', 'upcoming', 'overdue', 'active', 'completed']
if filter_type not in valid_filters: if filter_type not in valid_filters:
filter_type = 'all' filter_type = 'all'