]> git.notmuchmail.org Git - notmuch/commitdiff
query.cc: allow to return query results unsorted
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 16 Apr 2010 06:38:46 +0000 (08:38 +0200)
committerCarl Worth <cworth@cworth.org>
Wed, 21 Apr 2010 23:06:05 +0000 (16:06 -0700)
Previously, we always sorted the returned results by some string value,
(newest-to-oldest by default), however in some cases (as when applying
tags to a search result) we are not interested in any special order.

This introduces a NOTMUCH_SORT_UNSORTED value that does just that. It is
not used at the moment anywhere in the code.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>

No differences found