Commit 287144de authored by Bram Schoenmakers's avatar Bram Schoenmakers

First filter dependencies, then on relevancy.

parent 29140b0a
......@@ -156,8 +156,8 @@ class Application(object):
def list(self):
sorter = Sorter.Sorter(Config.SORT_STRING)
filters = [Filter.RelevanceFilter(),
Filter.DependencyFilter(self.todolist)]
filters = [Filter.DependencyFilter(self.todolist),
Filter.RelevanceFilter()]
if len(sys.argv) > 2:
filters.append(Filter.GrepFilter(sys.argv[2]))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment