aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/searchtypes.xml34
1 files changed, 30 insertions, 4 deletions
diff --git a/mail/searchtypes.xml b/mail/searchtypes.xml
index 83941d875c..63a52ca772 100644
--- a/mail/searchtypes.xml
+++ b/mail/searchtypes.xml
@@ -329,7 +329,7 @@
</code>
</option>
</input>
- <input type="address" name="recipient"/>
+ <input type="string" name="recipient"/>
</part>
<part name="subject">
@@ -764,18 +764,29 @@
</partset>
<ruleset>
-
<rule grouping="any" source="demand">
- <_title>Subject or Sender contains</_title>
+ <_title>Subject or Addresses contains</_title>
<partset>
<part name="subject">
<value name="subject-type" type="option" value="contains"/>
<value name="subject" type="string"/>
- </part>
+ </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>
+ <part name="to">
+ <value name="recipient-type" type="option" value="contains"/>
+ <value name="recipient" type="address"/>
+ </part>
+ <part name="to">
+ <value name="recipient-type" type="option" value="contains"/>
+ <value name="recipient" type="address"/>
+ </part>
</partset>
<sources/>
</rule>
@@ -796,6 +807,21 @@
</rule>
<rule grouping="any" source="demand">
+ <_title>Subject or Sender contains</_title>
+ <partset>
+ <part name="subject">
+ <value name="subject-type" type="option" value="contains"/>
+ <value name="subject" type="string"/>
+ </part>
+ <part name="sender">
+ <value name="sender-type" type="option" value="contains"/>
+ <value name="sender" type="string"/>
+ </part>
+ </partset>
+ <sources/>
+ </rule>
+
+ <rule grouping="any" source="demand">
<_title>Recipients contain</_title>
<partset>
<part name="to">