Bug 416542 - Search folders not filtering properly
Summary: Search folders not filtering properly
Status: REPORTED
Alias: None
Product: kmail2
Classification: Applications
Component: search (show other bugs)
Version: 5.11.3
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-21 16:25 UTC by Paul Lemmons
Modified: 2020-01-21 16:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Lemmons 2020-01-21 16:25:51 UTC
SUMMARY

I have created a search folder using "Find messages" and have named the folder so that I can reuse the search. In the search, I wish to only have messages from selected folders that contain a particular word in the subject and have an age that is less than 5 days. The search for word in the subject appears to be the only filter that is being acted on. I get messages from all folders regardless of age. 

STEPS TO REPRODUCE
1. Connect kmail to Exchange via IMAP
2. Open "Find Messages"
3. Select specific folders
4. Select Match all of the following
5. Select "Subject" "Contains" "Word"
6. Select "Age in Days" "is less than or equal to" "3 Days"
7. Name the Search Folder to something meaningful
8. Perform "Search"

OBSERVED RESULT

I get all messages that contain "Word" in the subject regardless of location or age. 

EXPECTED RESULT

The search would only return matches from selected folders and was less than or equal to 3 days old. 

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu 19.10
KDE Plasma Version: 15.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION

The indexer is running and all messages are cached locally.