mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
python: Add UNSORTED as Query.SORT option
Keep up to date with the libnotmuch.so API. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
parent
be7b24eb21
commit
af8664689a
2 changed files with 6 additions and 2 deletions
|
@ -99,7 +99,11 @@ More information on specific topics can be found on the following pages:
|
|||
Sort by message date, newest first.
|
||||
|
||||
SORT.MESSAGE_ID
|
||||
Sort by email message ID
|
||||
Sort by email message ID.
|
||||
|
||||
SORT.UNSORTED
|
||||
Do not apply a special sort order (returns results in document id
|
||||
order).
|
||||
|
||||
.. automethod:: set_sort
|
||||
|
||||
|
|
|
@ -459,7 +459,7 @@ class Query(object):
|
|||
other unexpected behavior. See above for more details.
|
||||
"""
|
||||
# constants
|
||||
SORT = Enum(['OLDEST_FIRST','NEWEST_FIRST','MESSAGE_ID'])
|
||||
SORT = Enum(['OLDEST_FIRST','NEWEST_FIRST','MESSAGE_ID', 'UNSORTED'])
|
||||
"""Constants: Sort order in which to return results"""
|
||||
|
||||
"""notmuch_query_create"""
|
||||
|
|
Loading…
Reference in a new issue