From 18cd37c2de5c4f1695942937c8c2a6e2ad152c66 Mon Sep 17 00:00:00 2001 From: Marxsal Date: Fri, 9 Jun 2017 08:01:06 -0700 Subject: [PATCH] Doc: getindex filter example fix (#2888) The 2nd filter example is broken and yields no results, probably because it doesn't see shadow tiddlers. Added 'all' filter to bring in actual palettes. --- editions/tw5.com/tiddlers/filters/examples/getindex.tid | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/editions/tw5.com/tiddlers/filters/examples/getindex.tid b/editions/tw5.com/tiddlers/filters/examples/getindex.tid index b0512507b..780c09946 100644 --- a/editions/tw5.com/tiddlers/filters/examples/getindex.tid +++ b/editions/tw5.com/tiddlers/filters/examples/getindex.tid @@ -1,7 +1,8 @@ created: 20150203140000000 -modified: 20150203140000000 +modified: 20170608150301791 tags: [[getindex Operator]] [[Operator Examples]] title: getindex Operator (Examples) +type: text/vnd.tiddlywiki <<.operator-example 1 "[[$:/palettes/Vanilla]getindex[background]]" "returns the value at index ''background'' of the [[DataTiddler|DataTiddlers]] [[$:/palettes/Vanilla]]">> -<<.operator-example 2 "[tag[$:/tags/Palette]getindex[background]]" "returns all background colors defined in any of the ColourPalettes">> \ No newline at end of file +<<.operator-example 2 "[all[shadows+tiddlers]tag[$:/tags/Palette]getindex[background]]" "returns all background colors defined in any of the ColourPalettes">> \ No newline at end of file