Hi Dave, Tony is right -- there is something funny going on with the "title". It appears that it's not only a constructor, but that it gets invoked even if the filter operators leading up to it should result in the null set.
The following variation worked on my test (but they *always* work on my test ;-) ) <$list filter="[all[current]fields[]]" variable="fieldname"> <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]" variable="dummy" > <$list filter="[title<fieldname>getindex[origin]]" variable="origin"> .<<origin>>. </$list> </$list> </$list> The 2nd list statement just uses a dummy variable to avoid setting the <<currentTiddler>> variable. The title of the data dictionary is *constructed* in the 3rd list and then it's "origin" index pulled out. Hopefully this will work better -- -- Mark On Wednesday, August 1, 2018 at 6:54:06 PM UTC-7, Dave wrote: > > Hi, I had some time to start work on this again and realized something's > wrong. > > If you look at the testResults.png (see attached) it shows that instead of > only getting the data from the tiddlers listed as fields with the value "1" > (there's only one of them with that value), it just gets them all. > > here's the code in question: > <$list filter="[all[current]fields[]]" variable="fieldname"> > <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]title > <fieldname>getindex[origin]]" variable="origin"> > <<origin>> > </$list> > </$list> > > If I delete out this "prefix[1]suffix[1]", it doesn't change at all > > I also tried adding another layer to see if that would solve it: > <$list filter="[all[current]fields[]]" variable="fieldname"> > <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]title > <fieldname>]" variable="refined"> > <$list filter="[all[current]get<refined>title<refined>getindex[origin]]" > variable="origin"> > .<<origin>>. > </$list> > </$list> > </$list> > > ...but again I get all the data results from the data tiddlers instead of > just the ones with "1" in the originating fields (i.e. deleting " > prefix[1]suffix[1]" changes nothing) > > Any ideas? > > > -- 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/62f86463-3a1f-4883-8141-b81cd42ae057%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

