From a7c9112c400981ef84e303a4c49c7accf4e97cb5 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 9 Oct 2014 20:51:58 +0100 Subject: [PATCH] Add new filter example --- .../tw5.com/tiddlers/filters/Introduction to Filters.tid | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/editions/tw5.com/tiddlers/filters/Introduction to Filters.tid b/editions/tw5.com/tiddlers/filters/Introduction to Filters.tid index 71116ea91..2b42e738a 100644 --- a/editions/tw5.com/tiddlers/filters/Introduction to Filters.tid +++ b/editions/tw5.com/tiddlers/filters/Introduction to Filters.tid @@ -1,5 +1,5 @@ created: 20140410101941871 -modified: 20141008180223576 +modified: 20141009180223576 tags: Learning title: Introduction to Filters type: text/vnd.tiddlywiki @@ -99,6 +99,12 @@ You can use multiple filter operations at once. This example selects all tiddler Each separate operator is processed in turn, accumulating the tiddlers that they select. +Here's an example that returns tiddlers tagged ''alpha'' or ''beta'' that are also tagged ''task'' and not tagged ''done'': + +``` +[tag[alpha]] [tag[beta]] +[tag[task]!tag[done]] +``` + ! ANDing Multiple Filter Operators A sequence of operators can be logically ANDed together by bashing them together and merging the outer square brackets. This is called a "run" of operations. For example, here we select tiddlers that are tagged "introduction" and also tagged "demo":