]> git.notmuchmail.org Git - notmuch/blobdiff - lib/thread.cc
notmuch search: Add support for a --reverse option to reverse sort order.
[notmuch] / lib / thread.cc
index df1d0db7fae0ac0f4e8d8f6c400d31dc09b2b3b6..ffecc9d0d558822ca8a1c30566664d14e7cb1858 100644 (file)
@@ -186,7 +186,7 @@ _notmuch_thread_create (void *ctx,
     thread->oldest = 0;
     thread->newest = 0;
 
-    notmuch_query_set_sort (thread_id_query, NOTMUCH_SORT_DATE_OLDEST_FIRST);
+    notmuch_query_set_sort (thread_id_query, NOTMUCH_SORT_DATE);
 
     for (messages = notmuch_query_search_messages (thread_id_query, 0, -1);
         notmuch_messages_has_more (messages);