]> git.notmuchmail.org Git - notmuch/blobdiff - lib/query.cc
Name thread based on matching msgs instead of first msg.
[notmuch] / lib / query.cc
index 10f8dc8a1a7aa0ade1ced3ff129e6cf1143d574f..3e20f59c8ce9951a1501ac8b7002e2f0a56df7a1 100644 (file)
@@ -299,7 +299,8 @@ notmuch_threads_get (notmuch_threads_t *threads)
     return _notmuch_thread_create (threads->query,
                                   threads->query->notmuch,
                                   threads->thread_id,
-                                  threads->query->query_string);
+                                  threads->query->query_string,
+                                  threads->query->sort);
 }
 
 void