Filtering using MatchTagsPlugin - does it work in TW version 2.6.2?

14 views
Skip to first unread message

cmari

unread,
Jan 23, 2011, 4:01:08 PM1/23/11
to TiddlyWiki
This is really a question for Eric:

I've got quite a few scripts in my TW file that contain some version
of
store.sortTiddlers(store.filterTiddlers....
I upgraded to 2.6.2 a week ago or so, but it's taken me until now to
figure out that none of these scripts are working.

To test this, I downloaded an empty TW 2.6.2 file and imported
InlineJavascriptPlugin, MatchTagsPlugin, MatchTagsPluginInfo,
EmbedTiddlers, and ToDoList from tiddlytools.com.

As best I can tell:
1. EmbedTiddlers doesn't work at all.
2. In MatchTagsPluginInfo, I would have expected the list under the
last item
<<list filter "[tag[sample OR (settings AND systemConfig)]]">>
to include ToDoList, but it doesn't.

Help?
cmari

Eric Shulman

unread,
Jan 23, 2011, 5:10:43 PM1/23/11
to TiddlyWiki
> store.sortTiddlers(store.filterTiddlers....
> I upgraded to 2.6.2 a week ago or so, but it's taken me until now to
> figure out that none of these scripts are working.

There was a core change in the definition of 'filterTiddlers'.
MatchTagsPlugin modifies this core function to add the extended
boolean tag-expression handling. I've updated the plugin to detect
TW262+ so it will adjust the new core function (when detected).

Get the update (v2.0.5) here:
http://www.TiddlyTools.com/#MatchTagsPlugin
http://www.TiddlyTools.com/#MatchTagsPluginInfo

Note: special thank you goes to Terence Jacyno for locating the errant
plugin code and suggesting a fix. He actually reported the problem
about a week ago, but I was a bit busy... until your (cmari's) message
reminded me. So thanks to you also! :)

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios

cmari

unread,
Jan 23, 2011, 5:59:05 PM1/23/11
to TiddlyWiki
Thanks for the quick fix!
cmari
Reply all
Reply to author
Forward
0 new messages