-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support received_recent_date thread ordering.
- Loading branch information
Jennie Lees
committed
Jul 28, 2015
1 parent
bb29ca2
commit da84d32
Showing
2 changed files
with
5 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,10 @@ for thread in namespace.threads.where(starred=True): | |
# List all threads with '[email protected]' | ||
for thread in namespace.threads.where(any_email='[email protected]').items(): | ||
print thread.subject | ||
|
||
# List threads in order of most recently received message (excludes sent messages) | ||
for thread in namespace.threads.where(sort='received_recent_date'): | ||
print thread.subject | ||
``` | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters