On Thursday, June 11, 2020 at 2:46:19 AM UTC-7, Sapphireslinger wrote: > > How to I get all tiddlers tagged with "lewrockwell" plus "best sentence" > OR "best paragraph"? > > <$list filter="[tag[(lewrockwell + (best sentence)||(best paragraph)] > !sort[title]]"> > <h2><$link><$transclude field="title" mode="block"/></$link></h2> > <$transclude field="text" mode="block"/> > </$list> > > The above doesn't work. >
Let's assume you have three tags: A, B, and C. To get the logical combinations of "A and (B or C)", start by refactoring the logic expression to remove parentheses: A and (B or C) => (A and B) or (A and C) In TW filter syntax, this can be written as two "filter runs", like this: <$list filter="[tag[A]tag[B]] [tag[A]tag[C]]"> ... </$list> enjoy, -e -- 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/5b70aa0c-6794-4c6a-a6de-31eb2a4b316do%40googlegroups.com.

