aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/query.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/query.cc')
-rw-r--r--lib/query.cc3
1 files changed, 2 insertions, 1 deletions
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