]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
notmuch search: Change default search order to be newest messages first.
[notmuch] / lib / notmuch.h
index 32b5332815837f8be6b7d22c2ff53cff114a4491..f135fd3f2c1a8ab75814fafca2eeeab9db2dfd0e 100644 (file)
@@ -299,8 +299,8 @@ notmuch_query_create (notmuch_database_t *database,
 
 /* Sort values for notmuch_query_set_sort */
 typedef enum {
 
 /* Sort values for notmuch_query_set_sort */
 typedef enum {
-    NOTMUCH_SORT_DATE,
-    NOTMUCH_SORT_DATE_REVERSE,
+    NOTMUCH_SORT_OLDEST_FIRST,
+    NOTMUCH_SORT_NEWEST_FIRST,
     NOTMUCH_SORT_MESSAGE_ID
 } notmuch_sort_t;
 
     NOTMUCH_SORT_MESSAGE_ID
 } notmuch_sort_t;