diff --git a/ui/model.go b/ui/model.go index 7b52a81..d973946 100644 --- a/ui/model.go +++ b/ui/model.go @@ -269,6 +269,7 @@ func (m *model) refresh() tea.Cmd { func (m *model) resetFilters() { m.filterGroup.Reset() m.searchFilter = accounting.NoFilter{} + m.period.periodType = hledger.PeriodYearly m.acctDepth = accounting.NewAccountDepthFilter() }