Mark, for you and others that may pass this way,
As I expect you know this is the behaviour of the filters as well, so you
could have a filter
<$list filter={{!!filter-field}}>
</$list>
where filter-field = a a b c c d a
and it will still remove duplicates
Of course in Wiki Text {{!!filter-field}} continues to return the original
This is of course because of an assumption that we are dealing with tiddler
titles which are unique so de-duping them makes sense and is very helpful
98% of the time.
<$list filter="[list[DependantSelect!!filter-field]nth[2]]" variable=result>
<<result>><br>
</$list>
even this above returns the nth after de-duping.
I have seen mention of an action that does bypass this but do not recall
where.
I am investigating, its a challenge worthy of resolution here are some
current thoughts
- Would storing these values in a datatiddler overcome this?
- Why would string operators not do this (they seem not to) or are they
really title operators?
I have come to realise this was possibly a conceptual fact not spelled out
sufficiently in the documentation,
and by not providing a way to bypass it, makes it even more confusing
because it seems obvious you should be able to do it.
Regards
Tony
On Friday, July 27, 2018 at 5:23:20 AM UTC+10, Mark S. wrote:
>
> I would like to detect the presence of duplicates in a series like this:
>
> MO10 TU10 WE10 TH10 TU10 TH10
>
> I thought I could do this with list or enlist by subtracting a packed list
> from a non-packed list. Unfortunately, list and enlist both remove
> duplicates even before you start.
>
> I'm storing the list-like items in a field "times" because if I attempt to
> store them in "list" it will automatically pack them!
>
> Suggestions?
>
> Thanks!
> -- Mark
>
--
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 post to this group, send email to [email protected].
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/a7340b22-c7b5-43e1-9bbd-09bc7e0a1f3c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.