aboutsummaryrefslogtreecommitdiffstats
path: root/mail/searchtypes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mail/searchtypes.xml')
-rw-r--r--mail/searchtypes.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml
index c39791843e..1f7dcfe44a 100644
--- a/mail/searchtypes.xml
+++ b/mail/searchtypes.xml
@@ -260,13 +260,13 @@
<option value="is">
<title>is</title>
<code>
- (match-all (= (user-tag "label") ${versus}))
+ (match-all (or (= (user-tag "label") ${versus}) (user-flag (+ "$Label" ${versus})) (user-flag ${versus})))
</code>
</option>
<option value="is-not">
<title>is not</title>
<code>
- (match-all (not (= (user-tag "label") ${versus})))
+ (match-all (not (or (= (user-tag "label") ${versus}) (user-flag (+ "$Label" ${versus})) (user-flag ${versus}))))
</code>
</option>
</input>