mirror of https://github.com/M66B/FairEmail.git
Fixed matching attachment names/types
This commit is contained in:
parent
752e3aa9d9
commit
3d89b6d770
|
@ -349,8 +349,9 @@ public interface DaoMessage {
|
||||||
//" OR (:message AND `preview` LIKE :find COLLATE NOCASE)" + // no index
|
//" OR (:message AND `preview` LIKE :find COLLATE NOCASE)" + // no index
|
||||||
//" OR (:notes AND `notes` LIKE :find COLLATE NOCASE)" + // no index
|
//" OR (:notes AND `notes` LIKE :find COLLATE NOCASE)" + // no index
|
||||||
//" OR (:headers AND `headers` LIKE :find COLLATE NOCASE)" + // no index
|
//" OR (:headers AND `headers` LIKE :find COLLATE NOCASE)" + // no index
|
||||||
" OR (attachment.name LIKE :find COLLATE NOCASE)" + // no index
|
//" OR (attachment.name LIKE :find COLLATE NOCASE)" + // no index
|
||||||
" OR (attachment.type LIKE :find COLLATE NOCASE)) AS matched" + // no index
|
//" OR (attachment.type LIKE :find COLLATE NOCASE)" +
|
||||||
|
") AS matched" + // no index
|
||||||
" FROM message" +
|
" FROM message" +
|
||||||
" LEFT JOIN attachment ON attachment.message = message.id" +
|
" LEFT JOIN attachment ON attachment.message = message.id" +
|
||||||
" WHERE NOT ui_hide" +
|
" WHERE NOT ui_hide" +
|
||||||
|
|
Loading…
Reference in New Issue