1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Show thread as unread if at least one of the messages of the thread is

unread.

Fixes issue 4759.
This commit is contained in:
Danny Baumann 2013-01-30 17:12:44 +01:00
parent bfdee8161c
commit 6e23a5e8e6

View File

@ -397,6 +397,8 @@ public class EmailProvider extends ContentProvider {
if (MessageColumns.ID.equals(columnName)) {
query.append("u." + MessageColumns.ID + " AS " + MessageColumns.ID);
} else if (MessageColumns.READ.equals(columnName)) {
query.append("MIN(read) AS " + MessageColumns.READ);
} else if (MessageColumns.DATE.equals(columnName)) {
query.append("MAX(date) AS " + MessageColumns.DATE);
} else if (SpecialColumns.THREAD_COUNT.equals(columnName)) {