mirror of
https://github.com/moparisthebest/k-9
synced 2025-02-20 04:31:47 -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,
|
null,
|
||||||
"SELECT "
|
"SELECT "
|
||||||
+ GET_MESSAGES_COLS
|
+ 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[]
|
, new String[]
|
||||||
{
|
{
|
||||||
queryString,
|
queryString,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user