From d1a8c683a2d50be2a3b8b8a15e89fdc90bfc70d9 Mon Sep 17 00:00:00 2001 From: Pako Date: Wed, 18 Mar 2015 21:30:23 +0100 Subject: [PATCH] Update Introduction to Filters.tid Corrected an error in the explanation of the `+` prefix. It actually adds the filter to the list of filters, thus keeping only the tiddlers matching the additional filter. --- editions/tw5.com/tiddlers/filters/Introduction to Filters.tid | 2 +- 1 file changed, 1 insertion(+), 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 af76a8f59..1155923ee 100644 --- a/editions/tw5.com/tiddlers/filters/Introduction to Filters.tid +++ b/editions/tw5.com/tiddlers/filters/Introduction to Filters.tid @@ -64,7 +64,7 @@ By default, each run considers every tiddler in the wiki. But we can use a `+` s > `[serving[3]] [serving[4]] [serving[5]] +[tag[Vegetarian]] +[sort[title]]` -This selects recipes for 3, 4 or 5 people, then filters <<.em those>> to remove the vegetarian ones, and finally sorts any that are left into alphabetical order of title. +This selects recipes for 3, 4 or 5 people, then filters <<.em those>> to keep only the vegetarian ones, and finally sorts any that are left into alphabetical order of title. In a similar way, we can use a `-` sign to <<.em remove>> a run's tiddlers from the result so far. Here we select all vegetarian recipes apart from two: