aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default_user/ChangeLog5
-rw-r--r--default_user/searches.xml23
2 files changed, 28 insertions, 0 deletions
diff --git a/default_user/ChangeLog b/default_user/ChangeLog
index f42b7e3f9c..7eea7e29ab 100644
--- a/default_user/ChangeLog
+++ b/default_user/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-16 Peter Williams <peterw@ximian.com>
+
+ * searches.xml: Implement "Message Contains" (searches sender,
+ recipients, subject, and body) and make it first.
+
2001-08-14 Peter Williams <peterw@ximian.com>
* searches.xml: Rename <title> to <_title> so that these fields can
diff --git a/default_user/searches.xml b/default_user/searches.xml
index 69221817e8..6b08f8eda2 100644
--- a/default_user/searches.xml
+++ b/default_user/searches.xml
@@ -2,6 +2,29 @@
<filteroptions>
<ruleset>
<rule grouping="any" source="demand">
+ <_title>Message contains</_title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="contains"/>
+ <value name="subject" type="string"/>
+ </part>
+ <part name="body">
+ <value name="body-type" type="option" value="contains"/>
+ <value name="word" type="string"/>
+ </part>
+ <part name="sender">
+ <value name="sender-type" type="option" value="contains"/>
+ <value name="sender" type="string"/>
+ </part>
+ <part name="to">
+ <value name="recipient-type" type="option" value="contains"/>
+ <value name="recipient" type="address"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+
+ <rule grouping="any" source="demand">
<_title>Sender contains</_title>
<partset>
<part name="sender">