Prevent out of order search results

pull/209/head
M66B 2 years ago
parent dad8d41611
commit 2be041841a

@ -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,

Loading…
Cancel
Save