mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-05 21:54:05 -06:00
Merge pull request #228 from keerthi16/SEARCH-433
Search 433 (Attachment search does not work when Electron search is enabled)
This commit is contained in:
commit
6b1cb11db7
@ -353,7 +353,7 @@ class Search {
|
||||
let additionalAttachmentQuery = "";
|
||||
if(fileType) {
|
||||
hasAttachments = true;
|
||||
if(fileType === "attachment") {
|
||||
if(fileType.toLowerCase() === "attachment") {
|
||||
additionalAttachmentQuery = "(hasfiles:true)";
|
||||
} else {
|
||||
additionalAttachmentQuery = "(filetype:(" + fileType +"))";
|
||||
|
Loading…
Reference in New Issue
Block a user