That works great!!! One more question:
How can I make this code: <<forEachTiddler where 'tiddler != context.inTiddler && tiddler.tags.containsAll(context.inTiddler.tags)' refer to another tiddler, instead of the tiddler it resides in? Hope this makes sense. axelm On Dec 31 2010, 7:52 am, cmari <cema...@gmail.com> wrote: > Hi axelm, > What about: > <<forEachTiddler > where 'tiddler != context.inTiddler && > tiddler.tags.containsAll(context.inTiddler.tags)' > > (The sort().join("]]") approach doesn't seem to work for me - but > perhaps you need it for some other reason?). > cmari > > On Dec 30, 7:00 pm, Måns <humam...@gmail.com> wrote: > > > > > Hi axelm > > > > <<forEachTiddler > > > where 'tiddler != context.inTiddler && > > > tiddler.tags.sort().join("]]") == > > > context.inTiddler.tags.sort().join("]]")' > > > so that, instead of listing the tiddlers that have all the tags of the > > > calling tiddler, to listing the tiddlers that have all the tags but > > > could also have additional tags? > > > untested! > > I would add "&& tiddler.tags.contains("SomeTag")" to the formula , > > maybe just after "!= context.inTiddler" (without the outer > > qoutes...)http://tiddlywiki.abego-software.de/#WhereClauseExamples > > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com. To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.