diff options
Diffstat (limited to 'mail/searchtypes.xml')
-rw-r--r-- | mail/searchtypes.xml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml index 0173066aa2..bf933d8342 100644 --- a/mail/searchtypes.xml +++ b/mail/searchtypes.xml @@ -644,16 +644,12 @@ <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> - </option> + <code func="e_mail_labels_get_filter_code"/> + </option> </input> <input type="optionlist" name="versus"> <dynamic func="e_mail_labels_get_filter_options"/> |