Re: [tw] Re: Nested List Problem

2015-11-20 Thread Matabele
Hi Tobias My contribution was aimed only at addressing the following question -- not the construction of the filter expression itself (which you have addressed): How would I compile the results of the internal list into a single list, rather than separate lists for every element in the parent l

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Tobias Beer
Hi Matabele, > You might find the $action-listops widget useful for this -- this may be > found here . You should be able to create > a list using the $filter= attribute, then refine the list with subfilter > runs using the $subfilter= attribute. > I don't thi

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Matabele
Hi You might find the $action-listops widget useful for this -- this may be found here . You should be able to create a list using the $filter= attribute, then refine the list with subfilter runs using the $subfilter= attribute. I have been waiting for users to

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Tobias Beer
Hi David something like filter:"[tag[planet]solar_system[{{tiddler.title}}]]" and > manually entering the tiddler tile into the operator What is {{tiddler.title}} ? How do you mean "manually entering"? How is the value stored at planets now? Just to be sure, using a text reference in a filter

Re: [tw] Re: Nested List Problem

2015-11-19 Thread David Allen
I don't know how well I explained what I was trying to do. I want to display a list of tiddlers whose solar_system field matches a given input. The entries in the solar_system field all have spaces. I had this working fine by passing in a solar system name with quotes around it, such as "Qo'noS Sy

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Tobias Beer
Hi David, > Got it to work! > Great stuff! > < Quadrant]listed[solar_system]listed[planet]]">> > > This gives me all of the species located in the Alpha Quadrant. Thanks > for posting the link that had the listed[] operator in it so I could learn > how it works! > This filter should pro

[tw] Re: Nested List Problem

2015-11-19 Thread Jed Carty
I am not sure what you are asking. If you have the names like [[Tiddler Title]] in the fields and don't want to go through removing the [[ and ]] then you would need to use the set widget and macro thing . If y

Re: [tw] Re: Nested List Problem

2015-11-19 Thread David Allen
Wait, now I've got another problem. The star system tiddlers have name such as Sol System or Qo'noS System, where there is a space in the name. To make the earlier stuff work, I had to change the solar_system field in the various planets to a double-bracketed form of the same value ( [[Sol System

Re: [tw] Re: Nested List Problem

2015-11-19 Thread David Allen
Got it to work! <> This gives me all of the species located in the Alpha Quadrant. Thanks for posting the link that had the listed[] operator in it so I could learn how it works! On Thu, Nov 19, 2015 at 2:19 PM, Tobias Beer wrote: > Hi Erwan, > > >> I'm not sure but to me this problem looks s

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Tobias Beer
Hi Erwan, > I'm not sure but to me this problem looks similar to this one: > https://groups.google.com/forum/#!msg/tiddlywiki/h0bBO54Qn7g/8xWaAYlXBAAJ, > for which you proposed this: > https://github.com/Jermolene/TiddlyWiki5/issues/2078. > > Assuming the new operator some-field:any-listitem

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Erwan
Hi Tobias, I'm not sure but to me this problem looks similar to this one: https://groups.google.com/forum/#!msg/tiddlywiki/h0bBO54Qn7g/8xWaAYlXBAAJ, for which you proposed this: https://github.com/Jermolene/TiddlyWiki5/issues/2078. Assuming the new operator |some-field:any-listitem| exists,

[tw] Re: Nested List Problem

2015-11-19 Thread Jed Carty
I think that Tobias is correct and there isn't currently a way to make the result of nested list widgets into a single list in a reasonable way. An unreasonable way would be to make a button that adds each list item to a tiddler as a tag and then to use the tags from that tiddler as your comple

Re: [tw] Re: Nested List Problem

2015-11-19 Thread Tobias Beer
Hi David, Actually, I have another question. > How would I compile the results of the internal list into a single list, > rather than separate lists for every element in the parent list? > I'd be glad to learn I'm wrong, but I don't think that's currently possible. One way to eventually implem

Re: [tw] Re: Nested List Problem

2015-11-19 Thread David Allen
Actually, I have another question. How would I compile the results of the internal list into a single list, rather than separate lists for every element in the parent list? On Thu, Nov 19, 2015 at 9:26 AM, David Allen wrote: > This worked great, thanks! > > On Tue, Nov 17, 2015 at 12:32 AM, Eri

Re: [tw] Re: Nested List Problem

2015-11-19 Thread David Allen
This worked great, thanks! On Tue, Nov 17, 2015 at 12:32 AM, Eric Shulman wrote: > On Monday, November 16, 2015 at 10:10:14 PM UTC-8, David Allen wrote: >> >> <$list filter="[tag[star_system]field:quadrant[Alpha Quadrant]]"> >> <$list filter="[tag[planet]field:solar_system[]]"> >> >> >> >>

[tw] Re: Nested List Problem

2015-11-16 Thread Eric Shulman
On Monday, November 16, 2015 at 10:10:14 PM UTC-8, David Allen wrote: > > <$list filter="[tag[star_system]field:quadrant[Alpha Quadrant]]"> > <$list filter="[tag[planet]field:solar_system[]]"> > > > > I don't know what to put in the part of the code. Does anyone know > what I should pu