summaryrefslogtreecommitdiff
path: root/alot/buffers/search.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffers/search.py')
-rw-r--r--alot/buffers/search.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/buffers/search.py b/alot/buffers/search.py
index 700ce69f..a17e6db3 100644
--- a/alot/buffers/search.py
+++ b/alot/buffers/search.py
@@ -167,7 +167,8 @@ class SearchBuffer(Buffer):
threads = self.dbman.get_threads(self.querystring, self.sort_order,
exclude_tags)
- wgt_factory = partial(ThreadlineWidget, dbman = self.dbman)
+ wgt_factory = partial(ThreadlineWidget, dbman = self.dbman,
+ query = self.querystring)
threadlist = IterWalker(threads, wgt_factory)
# check that the query is well-formed