summaryrefslogtreecommitdiff
path: root/alot/buffers
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-02-10 10:52:50 +0100
committerAnton Khirnov <anton@khirnov.net>2021-02-10 10:53:13 +0100
commit752860cf24fc22208d7e9138d0a13ea5d616b4ca (patch)
treec2c5bee955bcfccb9a660892a58c89e1f5fe886b /alot/buffers
parent90e4d88cd4883dd015a511d7f8e1e7e09e062ac4 (diff)
widgets/search: display the number of matching messages in the thread
Diffstat (limited to 'alot/buffers')
-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