diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-02-10 10:52:50 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-02-10 10:53:13 +0100 |
commit | 752860cf24fc22208d7e9138d0a13ea5d616b4ca (patch) | |
tree | c2c5bee955bcfccb9a660892a58c89e1f5fe886b /alot/buffers | |
parent | 90e4d88cd4883dd015a511d7f8e1e7e09e062ac4 (diff) |
widgets/search: display the number of matching messages in the thread
Diffstat (limited to 'alot/buffers')
-rw-r--r-- | alot/buffers/search.py | 3 |
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 |