diff options
Diffstat (limited to 'alot/widgets/search.py')
-rw-r--r-- | alot/widgets/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/widgets/search.py b/alot/widgets/search.py index 51048394..a4d22e82 100644 --- a/alot/widgets/search.py +++ b/alot/widgets/search.py @@ -178,12 +178,12 @@ def prepare_authors_string(thread): def prepare_subject_string(thread): - return thread.get_subject() or ' ' + return thread.subject or ' ' def prepare_content_string(thread): msgs = sorted(thread.get_messages().keys(), - key=lambda msg: msg.get_date(), reverse=True) + key=lambda msg: msg.date, reverse=True) lastcontent = ' '.join(m.get_body_text() for m in msgs) lastcontent = lastcontent.replace('^>.*$', '') return lastcontent |