mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-01-03 12:47:13 -06:00
SEARCH-433
- Fixed attachment case issue
This commit is contained in:
parent
ea927ae841
commit
52fbfb7456
@ -353,7 +353,7 @@ class Search {
|
||||
let additionalAttachmentQuery = "";
|
||||
if(fileType) {
|
||||
hasAttachments = true;
|
||||
if(fileType.toLocaleUpperCase() === "attachment") {
|
||||
if(fileType.toLowerCase() === "attachment") {
|
||||
additionalAttachmentQuery = "(hasfiles:true)";
|
||||
} else {
|
||||
additionalAttachmentQuery = "(filetype:(" + fileType +"))";
|
||||
|
Loading…
Reference in New Issue
Block a user