So this is probably me not understanding something fully, so I am asking here to be better educated. I was playing around with a viewtemplate and thought about how to apply it based on tiddler title. When I did that filter, though, it applied the template to every single tiddler.
So I have these two viewtemplate-tagged tiddlers:
Title-based:
<$list filter="[all[current]is[tiddler]!is[system]title[foobar]]">
foo
</$list>
Tag-based:
<$list filter="[all[current]is[tiddler]!is[system]tag[foobar]]">
bar
</$list>
My expectation is that the title-based viewtemplate only gets applied to a tiddler with a title of 'foobar' and the tag-based one is only applied to tiddlers with a tag of "foobar'.
What winds up happening is that the tag-based template only gets applied based on the tag, but the title-based one gets applied to all tiddlers.
I feel like this is due to something fundamental/important in how this is all put together, but I don't know what or why.
I have a working example in this link:
And a wordier description here:
With the two ViewTemplates described above, and these 3 tiddlers with no contents:
A: Title: foobar, Tag: none
B: Title: blankTiddler, Tag: none
C: Title: tagged, Tag: foobar
My expectation is that the contents of the three tiddlers be:
A: foo
B: nothing
C: bar
Actual rendered contents:
A: foo
B: foo
C: foo bar