Is there an equivalent of a "constant" operator for a filter that doesn't
effect the tiddler being selected?
I want the subfilter to allow all tiddlers through if the dropdown is the
"All Tiddlers" item that has the value "--any--" or allow only tiddlers
through if the customer tags field contains the selected dropdown value.
i.e. the logical equivalent of
{$:/state/dropdownvalue} = "--any--"
OR
contains:customtagsfield{$:/state/dropdownvalue}]
Currently I have worked around this by putting [[--any--]] in all the
custom tags fields and using this subfilter:
\define selectedindropdown()
[contains:customtagsfield{$:/state/dropdownvalue}]
\end
I'd like to eliminate having to have the [[--any--]] in all the tags fields.
Something like this which doesn't select or alter the tiddler coming into
the subfilter in any way, but either allows it through or not based on an
unrelated condition.
\define selectedindropdown()
[constant[--any--]{$:/state/dropdownvalue}
contains:customtagsfield{$:/state/dropdownvalue}]
\end
--
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/7d71f6c0-833e-429c-a93f-e175f9808d9cn%40googlegroups.com.