Dear Mans,
Thanks so much for your help!
Indeed, the tiddler.tags.join("]]").contains("X") in the where condition
does already half of the trick: tiddlers tagged with X-Y show up now in the
list created by FET.
Then you point to a problem that I haven't' even thought of: how to sort
the resulting list correctly, based on the tags. Unfortunately, my
knowledge of JavaScript is only basic at best, and I do not fully
understand your script. I set up a test case though, and implemented your
FET script. As you can see from the screenshot (
http://i39.tinypic.com/2dllo29.jpg), there are two list Items A and B,
which should appear in Lists 01 and 02 in different order, and are tagged
accordingly. However, they appear in the same order in both lists.
Or did I just miss out what to do with the "###" in the sortBy statement?
I would suggest a different solution, but again I lack the JavaScript
skills to implement it: Since I create tables for my lists anyway, using
FET, I could add a column that contains only the tag in question: I would
tell FET: 'Create a table from all tiddlers that have a tag that contains
"X". One column of the table should contain the full tag that contains the
"X"-part.' I could then either sort the table directly based on this column
using the sortBy statement of FET, or I could use the SortableTable plugin.
Would that be a way? And how is it done in FET?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/tiddlywiki/-/Wvd6YVwOd0kJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.