Note: Title is a constructor - A few operators ignore their input and generate an independent output instead. These are called selection constructors: they construct an entirely new selection <https://tiddlywiki.com/#Title%20Selection>.
is this what you really want? Tony On Thursday, August 2, 2018 at 1:46:04 PM UTC+10, TonyM wrote: > > Dave, > > I have not played much with datatiddlers, so cant help too much however > > Have you tried to look inside the problem like this > > <$list filter="[all[current]fields[]]" variable="fieldname"> > *fieldname=<<fieldname>><br>* > <$list filter="[all[current]get<fieldname>prefix[1]suffix[1]title > <fieldname>]" variable="refined"> > *refined=<**<refined>><br>* > <$list filter="[all[current]get<refined>title<refined>getindex[origin]]" > variable="origin"> > .<<origin>>. > </$list> > </$list> > </$list> > > > What is your use of title<fieldname> when every filter starts [all[current] > (Referring to current tiddler?) > > By using a variable on every list, the currentTiddler remains the calling > tiddler > As I read it; > The first list returns each fieldname on the current tiddler > The second is trying to get the value of each "named" field as long as > it's value is 1? "get<fieldname>prefix[1]suffix[1]" > The third ? > I am not sure you need [all[current] in the last 2 lists and I am not sure > what title<fieldname> title<refined> are trying to do when the get is > returning the value in a field just before it. > > Just another set of eyes > > Tony > > > > On Thursday, August 2, 2018 at 11:54:06 AM UTC+10, 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 tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. 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/1b944446-3b84-40bc-83f8-5d85936f4a1e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.