diff options
| author | Grant Ammons <gammons@gmail.com> | 2016-05-02 08:49:56 -0400 |
|---|---|---|
| committer | Grant Ammons <gammons@gmail.com> | 2016-05-02 08:49:56 -0400 |
| commit | 4808994bf548a384f5c4de99b3e5667382bed936 (patch) | |
| tree | 1a055ffdfeb5b00c64f2b4cf7c89240d1b9b4f9f /todolist/app.go | |
| parent | 471b93141074222bdef537f08b6443e91fa0ea2f (diff) | |
Get filtering by projects, contexts working
Diffstat (limited to 'todolist/app.go')
| -rw-r--r-- | todolist/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/todolist/app.go b/todolist/app.go index 2af3361..af1b367 100644 --- a/todolist/app.go +++ b/todolist/app.go @@ -109,7 +109,7 @@ func (a *App) getGroups(input string, todos []Todo) *GroupedTodos { if contextRegex.MatchString(input) { grouped = grouper.GroupByContext(todos) } else if projectRegex.MatchString(input) { - grouped = grouper.GroupByContext(todos) + grouped = grouper.GroupByProject(todos) } else { grouped = grouper.GroupByNothing(todos) } |
