mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Exclude deleted messages from search results
This commit is contained in:
parent
230428d16a
commit
f965417479
@ -565,7 +565,7 @@ public class LocalStore extends Store implements Serializable
|
||||
null,
|
||||
"SELECT "
|
||||
+ GET_MESSAGES_COLS
|
||||
+ "FROM messages WHERE html_content LIKE ? OR subject LIKE ? OR sender_list LIKE ? ORDER BY date DESC"
|
||||
+ "FROM messages WHERE deleted = 0 AND (html_content LIKE ? OR subject LIKE ? OR sender_list LIKE ?) ORDER BY date DESC"
|
||||
, new String[]
|
||||
{
|
||||
queryString,
|
||||
|
Loading…
Reference in New Issue
Block a user