mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-25 18:35:06 +01:00
Prevent out of order search results
This commit is contained in:
@@ -364,7 +364,7 @@ public interface DaoMessage {
|
||||
" AND (:before IS NULL OR received < :before)" +
|
||||
" AND NOT message.folder IN (:exclude)" +
|
||||
" GROUP BY message.id" +
|
||||
" ORDER BY matched DESC, received DESC" +
|
||||
" ORDER BY received DESC" +
|
||||
" LIMIT :limit OFFSET :offset")
|
||||
List<TupleMatch> matchMessages(
|
||||
Long account, Long folder, long[] exclude, String find,
|
||||
|
||||
Reference in New Issue
Block a user