On Thursday, December 19, 2019 at 8:32:05 PM UTC-8, Scott Kingery wrote: > > I tried to do the reverse > <$list filter="[all[current]title[Home]]"> > to have it show up only on Home. It doesn't work and ends up showing on > all tiddlers. >
https://tiddlywiki.com/#Selection%20Constructors * Most operators derive their output from their input. For example, many of them output a subset of their input, and thus truly live up to the name of "filters", narrowing down the overall output of the containing run. These operators are called selection modifiers. * A few operators ignore their input and generate an independent output instead. These are called selection constructors: they construct an entirely new selection. The "[title[...]]" filter operator is a selection constructor. Thus, in your filter expression, it doesn't matter that title[Home] is preceded by all[current]. It will always result in the value "Home" being returned by the filter. Fortunately, there are several selection modifier filter operators that you can use to get the results you want: * [all[current]field:title[Home]] tests to see if the field named title has a value of "Home" or * [all[current]match[Home]] tests the value of "all[current]" to see if it matches the literal text "Home" note: you can also replace "all[current]" with the variable <currentTiddler> (SINGLE angle brackets for filters!), thus: * [<currentTiddler>field:title[Home]] or * [<currentTiddler>match[Home]] Any of the above filters should work for your desired end goal. enjoy, -e . For your purposes, you should use "field:title[Home]" which tests the input to see if -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/171497fa-96ae-4a8d-adc4-2366a7374353%40googlegroups.com.

