Matthew,
I am sure I can help you but to do it from your last post is a little
tricky.
- Can you give a minimal case, perhaps that works on tiddlywiki.com
- Doing this this I find I often find my own solution.
- If anyone provides a solution on the minimal case you and other
readers will likely learn even more.
Regards
Tones
On Tuesday, 27 October 2020 03:43:00 UTC+11, Matthew Lauber wrote:
>
> Hey all, I'm trying to figure out how to handle an issue I've got coming
> up.
>
> I have a dataset I'm storing as tiddlers, with each field as a column.
> I'm trying to implement filters on the dataset using <$select> widgets that
> allow selecting multiple values. I'm trying to create a filter that for
> each tiddler in the dataset checks if `{{!!field}} is contained in
> {{Selected!!field}}` i.e. is the tiddlers value in the allowed values.
>
> I figured out how to do this once, by flipping my filter around and saying
> `[[Selected]contains:field{!!field}]` But I can't use the `+` symbol to
> AND these together, as the input is replaced instead of unioned with the
> preceding filter.
>
> Does anyone know a better way to implement an `value IN list` filter, or a
> better way to and things?
>
> p.s. I'm trying to avoid multiple loops for ANDs, as I want to be able to
> filter on arbitrary fields.
>
> Thanks,
> Matt
>
--
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/5b1e2deb-9cd9-45c6-8952-b239f0345775o%40googlegroups.com.