Hi Tobias
Where is this behaviour coded in the core?
regards
On Saturday, 17 October 2015 03:28:45 UTC+2, Tobias Beer wrote:
>
> Hi Metabele,
>
>
>> The filters themselves don't impose uniqueness -- items are, however,
>> dominantly appended. If I wish to add an item, and an instance of that item
>> already occurs in the list, then that instance will be removed the moment
>> the second 'copy' gets added. Don't know if this is due only to
>> the $tw.utils.stringifyList function. Anyway, this must be fixed
>> elsewhere, and has nothing to do with my widget, or the filters themselves.
>
>
> It's simply how the "add an item by its title" filter works... add to the
> end, remove before.
> Not a genereral rule, more of a filter operator specific peculiarity, I
> believe.
> One of those things the examples don't show,.. but thorough testng will.
>
> {{{ 1 2 3 2 1 2 3 2 1 }}}
>
> Best wishes,
>
> — tb
>
--
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/c0f41224-4831-4900-92a6-3db927c5e6ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.