Hi Jed I think I’ve commented to the same effect elsewhere, but I am in favour of dropping the de-duping from $tw.utils.parseStringArray(list). We do need to do an impact analysis, but I think it’s a reasonable and useful change,
Best wishes Jeremy. > On 14 Oct 2015, at 21:17, Jed Carty <[email protected]> wrote: > > The filters part isn't what I am objecting to. The only thing that imposes > uniqueness in the list is the function $tw.utils.parseStringArray and that is > an arbitrary limitation added to ensure uniqueness in the tags field. Since > we want to use polymorphic fields that limitation should either be removed if > possible or another function should be added that doesn't have that limit. > This requires changes to exactly 2 lines of code in boot.js. I just added the > a new function in my example because I wanted the demo to be independent of > any changes to the core. Then when you want to use $tw.utils.parseStringArray > and not impose uniqueness on the returned list you use > $tw.utils.parseStringArray(list, true) instead of > $tw.utils.parseStringArray(list) > > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/tiddlywiki > <http://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/135f1105-5eb0-44ad-9f59-dc61f4ee7909%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/135f1105-5eb0-44ad-9f59-dc61f4ee7909%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <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 [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/A35D4BDC-F75F-43E0-8DC2-2A935C9AF781%40gmail.com. For more options, visit https://groups.google.com/d/optout.

