query.cc: allow to return query results unsorted
[notmuch] / lib / query.cc
index 3e20f59c8ce9951a1501ac8b7002e2f0a56df7a1..7e1b6b52984330d82f6c82462f64d02c2450f0f4 100644 (file)
@@ -148,6 +148,8 @@ notmuch_query_search_messages (notmuch_query_t *query)
        case NOTMUCH_SORT_MESSAGE_ID:
            enquire.set_sort_by_value (NOTMUCH_VALUE_MESSAGE_ID, FALSE);
            break;
+        case NOTMUCH_SORT_UNSORTED:
+           break;
        }
 
 #if DEBUG_QUERY