'Clear All Filters' button silently does nothing to any active date-range filter #75

Open
opened 2026-09-01 00:07:11 -04:00 by jared · 0 comments
Owner

Severity: Medium-High (functional bug, misleading UI)

assets/js/dashboard.js (~lines 290-310), clearAllFilters() deletes URL params date_from/date_to. No feature in the entire app ever sets those two param names. Every real date filter — the sidebar's own quick-filter form, Advanced Search, saved filters, and the "Today"/"Resolved" stat-card links — uses created_from/created_to/updated_from/updated_to/closed_from/closed_to.

Impact: Clicking the button labeled "Clear All Filters" leaves any active date range filter completely in place, silently — the user believes they've reset the view but a date constraint is still narrowing results.

Fix: Update clearAllFilters() to delete the actual six date-field param names used elsewhere in the app instead of the nonexistent date_from/date_to.

**Severity:** Medium-High (functional bug, misleading UI) `assets/js/dashboard.js` (~lines 290-310), `clearAllFilters()` deletes URL params `date_from`/`date_to`. **No feature in the entire app ever sets those two param names.** Every real date filter — the sidebar's own quick-filter form, Advanced Search, saved filters, and the "Today"/"Resolved" stat-card links — uses `created_from`/`created_to`/`updated_from`/`updated_to`/`closed_from`/`closed_to`. **Impact:** Clicking the button labeled "Clear All Filters" leaves any active date range filter completely in place, silently — the user believes they've reset the view but a date constraint is still narrowing results. **Fix:** Update `clearAllFilters()` to delete the actual six date-field param names used elsewhere in the app instead of the nonexistent `date_from`/`date_to`.
jared added the priority/mediumux labels 2026-09-08 10:15:48 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/tinker_tickets#75