aboutsummaryrefslogtreecommitdiffstats
path: root/mail/searchtypes.xml
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2008-04-30 17:59:18 +0800
committerMilan Crha <mcrha@src.gnome.org>2008-04-30 17:59:18 +0800
commit929ac5c61d7b300155ad9e73cfd3159934764314 (patch)
tree1e8cbedcf157738c1345d88fad6d05deb4223683 /mail/searchtypes.xml
parent05e8333292dc51f0b6c949d3aeb3496c08d4e613 (diff)
downloadgsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.gz
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.tar.zst
gsoc2013-evolution-929ac5c61d7b300155ad9e73cfd3159934764314.zip
** Fix for bug #530245
2008-04-30 Milan Crha <mcrha@redhat.com> ** Fix for bug #530245 * searchtypes.xml: Let searches work with labels again. svn path=/trunk/; revision=35456
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>