Process matched messages first

pull/196/head
M66B 4 years ago
parent a600f779ad
commit 2dbe68a223

@ -333,7 +333,7 @@ public interface DaoMessage {
" AND (:after IS NULL OR received > :after)" +
" AND (:before IS NULL OR received < :before)" +
" GROUP BY message.id" +
" ORDER BY received DESC" +
" ORDER BY matched DESC, received DESC" +
" LIMIT :limit OFFSET :offset")
List<TupleMatch> matchMessages(
Long account, Long folder, String find,

Loading…
Cancel
Save