Bug 491533 - Add filter option for attachments.
Summary: Add filter option for attachments.
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: search (other bugs)
Version First Reported In: 5.24.5
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 14:08 UTC by Christoph Thielecke
Modified: 2024-09-18 06:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 24.12.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Thielecke 2024-08-10 14:08:23 UTC
When searching mails using the find dialog there is no option "has attachment".
That would be very useful when you need to find specific mail within complex folders.

Please add an option for selecting mails with attachment(s).
Comment 1 Laurent Montel 2024-08-11 07:07:29 UTC
indeed we don't have it.
I will work on it.
Regards
Comment 2 Laurent Montel 2024-09-18 06:53:18 UTC
Git commit 82eb9f2e2dfc914a4c66c2c14c28e5f6f3b61c11 by Laurent Montel.
Committed on 18/09/2024 at 06:31.
Pushed by mlaurent into branch 'master'.

Add searchruleattachment

M  +2    -0    src/CMakeLists.txt
M  +3    -1    src/search/searchpatternedit.cpp
M  +1    -1    src/search/searchpatternedit.h
M  +3    -0    src/search/searchrule/searchrule.cpp
A  +52   -0    src/search/searchrule/searchruleattachment.cpp     [License: GPL(v2.0+)]
A  +23   -0    src/search/searchrule/searchruleattachment.h     [License: GPL(v2.0+)]

https://invent.kde.org/pim/mailcommon/-/commit/82eb9f2e2dfc914a4c66c2c14c28e5f6f3b61c11
Comment 3 Laurent Montel 2024-09-18 06:53:19 UTC
Git commit 926fb5dc26b503f45ab4b95053b49af26fc9fcfe by Laurent Montel.
Committed on 18/09/2024 at 06:52.
Pushed by mlaurent into branch 'master'.

Fix 491533: Add filter option for attachments.
FIXED-IN: 24.12.0

M  +9    -0    src/search/searchrule/searchruleattachment.cpp
M  +1    -0    src/search/searchrule/searchruleattachment.h

https://invent.kde.org/pim/mailcommon/-/commit/926fb5dc26b503f45ab4b95053b49af26fc9fcfe