aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r--filter/filtertypes.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index 6417ef261c..6766f4bf3b 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -264,6 +264,26 @@
</input>
</part>
+ <part name="source">
+ <title>Source</title>
+ <input type="optionlist" name="url-type">
+ <option value="is">
+ <title>is</title>
+ <code>
+ (match-all (= (get-source) ${source}))
+ </code>
+ </option>
+ <option value="is-not">
+ <title>is not</title>
+ <code>
+ (match-all (not (= (get-source) ${source})))
+ </code>
+ </option>
+ </input>
+ <input type="url" name="source">
+ </input>
+ </part>
+
</partset>