X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fquery.cc;h=3e20f59c8ce9951a1501ac8b7002e2f0a56df7a1;hb=2a1a4f0551edda081d9d03e25b2f195761502c2e;hp=10f8dc8a1a7aa0ade1ced3ff129e6cf1143d574f;hpb=e100871981daeb3bb9a6c8718c95e6044953b57f;p=notmuch diff --git a/lib/query.cc b/lib/query.cc index 10f8dc8a..3e20f59c 100644 --- a/lib/query.cc +++ b/lib/query.cc @@ -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