aboutsummaryrefslogtreecommitdiffstats
path: root/mail/filtertypes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mail/filtertypes.xml')
-rw-r--r--mail/filtertypes.xml10
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/filtertypes.xml b/mail/filtertypes.xml
index c655c32cb8..02bea7fadd 100644
--- a/mail/filtertypes.xml
+++ b/mail/filtertypes.xml
@@ -648,15 +648,11 @@
<input type="optionlist" name="label-type">
<option value="is">
<title>is</title>
- <code>
- (match-all (or (= (user-tag "label") ${versus}) (user-flag (+ "$Label" ${versus})) (user-flag ${versus})))
- </code>
+ <code func="e_mail_labels_get_filter_code"/>
</option>
<option value="is-not">
<title>is not</title>
- <code>
- (match-all (not (or (= (user-tag "label") ${versus}) (user-flag (+ "$Label" ${versus})) (user-flag ${versus}))))
- </code>
+ <code func="e_mail_labels_get_filter_code"/>
</option>
</input>
<input type="optionlist" name="versus">
@@ -947,7 +943,7 @@
<title>Set Label</title>
<code>(set-label ${label})</code>
<input type="optionlist" name="label">
- <dynamic func="e_mail_labels_get_filter_options"/>
+ <dynamic func="e_mail_labels_get_filter_options_without_none"/>
</input>
</part>
<part name="colour">