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