mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
Revert "thread: Fix sort of search when constructing threads."
This reverts commit f43990ce13
.
This commit is contained in:
parent
6a0cba4ae0
commit
a109966080
1 changed files with 1 additions and 3 deletions
|
@ -299,7 +299,7 @@ _notmuch_thread_create (void *ctx,
|
|||
thread->oldest = 0;
|
||||
thread->newest = 0;
|
||||
|
||||
notmuch_query_set_sort (thread_id_query, sort);
|
||||
notmuch_query_set_sort (thread_id_query, NOTMUCH_SORT_OLDEST_FIRST);
|
||||
|
||||
for (messages = notmuch_query_search_messages (thread_id_query);
|
||||
notmuch_messages_valid (messages);
|
||||
|
@ -332,8 +332,6 @@ _notmuch_thread_create (void *ctx,
|
|||
if (unlikely (matched_query == NULL))
|
||||
return NULL;
|
||||
|
||||
notmuch_query_set_sort (matched_query, sort);
|
||||
|
||||
for (messages = notmuch_query_search_messages (matched_query);
|
||||
notmuch_messages_valid (messages);
|
||||
notmuch_messages_move_to_next (messages))
|
||||
|
|
Loading…
Reference in a new issue