Hi Mat, >From what I understand, the only piece that is missing in your compound filter is the *subfilter* operator. This should work as expected:
<$list filter="[suffix[berry]] [tag[tasty]]" variable=part> <$list filter="tastyapple blueberry rottenbanana lingonberry +[ subfilter<part>]"> <$list> <$list> Cheers -- Xavier Cazin On Mon, Jul 8, 2019 at 11:20 PM Mat <matiasg...@gmail.com> wrote: > *Beyond my control*, the user defines a filter like > > [suffix[berry]] [tag[tasty]] (could be many more, and more complex) > > This is to be applied to my list of fruits'n berries, where some of them > are tagged "tasty". > > How? Here's the problem shown: > > {{{ tastyapple blueberry rottenbanana lingonberry <inserted-userfilter> > }}} > > The output *should* be: tastyapple blueberry lingonberry > > It no worky because > 1) the user filter consists of multiple parts so even if I put a "+" > before the user filter it wouldn't distribute to the [tag[tasty]] part > 2) the original fruit list should be, again, filtered *in full* by that > second filter. > > It seems the user filter must itself be treated like a list of elements... > but is that even possible? > > <$list filter="[suffix[berry]] [tag[tasty]]" variable=part> > <$list filter="tastyapple blueberry rottenbanana lingonberry +[<part>]"> > > <$list> > <$list> > > The problem here is of course that the "[suffix[berry]] etc" will be > evaluated and not treated as merely a string. > > Can I make it be treated like a string? ...but more importantly, should I? > The actual problem is the former, not the latter. > > Thank you! > > <:-) > > -- > 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 tiddlywiki+unsubscr...@googlegroups.com. > To post to this group, send email to tiddlywiki@googlegroups.com. > Visit this group at https://groups.google.com/group/tiddlywiki. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/8b7c7a4d-9d1f-405b-b8ff-61ddf111c896%40googlegroups.com > <https://groups.google.com/d/msgid/tiddlywiki/8b7c7a4d-9d1f-405b-b8ff-61ddf111c896%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/CADeSwYNshXu7SUi4g4b3oYmkw2hPbaVNvhZATSB7u8wogodvqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.