aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/gui')
-rw-r--r--addressbook/gui/search/addresstypes.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/addressbook/gui/search/addresstypes.xml b/addressbook/gui/search/addresstypes.xml
index bf64e841b0..4ee23af613 100644
--- a/addressbook/gui/search/addresstypes.xml
+++ b/addressbook/gui/search/addresstypes.xml
@@ -53,6 +53,28 @@
</input>
<input type="address" name="email"/>
</part>
+ <part name="category">
+ <title>Category</title>
+ <input type="optionlist" name="category-type">
+ <option value="contains">
+ <title>contains</title>
+ <code>(contains "category" ${category})</code>
+ </option>
+ <option value="not contains">
+ <title>does not contain</title>
+ <code>(not (contains "category" ${category}))</code>
+ </option>
+ <option value="is">
+ <title>is</title>
+ <code>(is "category" ${category})</code>
+ </option>
+ <option value="is not">
+ <title>is not</title>
+ <code>(not (is "category" ${category}))</code>
+ </option>
+ </input>
+ <input type="string" name="category"/>
+ </part>
<part name="sexp">
<title>Expression</title>
<input type="code" name="code"/>