<$list filter="[all[tiddlers]has[fieldname]get[fieldname]sort[]]" variable=value >
__<<value>>__<br>
<$list filter='[all[tiddlers]fieldname<value>sort[]]'>
</$list>
</$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 tiddlywiki+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/dae8e8cf-3352-4c2d-951d-662f0d61bdd1%40googlegroups.com.
If I am not mistaken, in your macro I only have to add "A" twice": after the word "has" and after the word "get". Right?
If I am not mistaken, in your macro I only have to add "A" twice": after the word "has" and after the word "get". Right?I think there's some confusion in terminology. There are fields, referred to by their names, and there are the values of fields. When you say A, what are you referring to?<:-)
--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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2c4eadc5-072c-427c-9a6c-86ce49517030%40googlegroups.com.
A = value of the field
I would like a filter that picks up the values, sort them alphabetically, and below each value list the corresponding tiddler titles, which should also be listed alphabetically.
...what does "pick up the values, sort them alphabetically" refer to? The values are "A" so there's nothing to sort - ?
And if your reply is "well, the value can be A but it can also be anything else" then I must ask what is the common criteria that separates the relevant tiddlers from the non-relevant ones?
I'm guessing you don't want to list ALL values found in ALL fields in ALL tiddlers, right? What is the criteria to make it onto the list? (The most reasonable, for what you've asked so far, is that it only concerns those tiddlers that all have a particular field. In that case, what is that field name?)<:-)
--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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/26ff0080-b1ed-441a-8f41-d0d4e12ed5d3%40googlegroups.com.
<$list filter="[all[tiddlers]has[fieldname]each[fieldname]get[fieldname]sort[]]" variable=value >
__<<value>>__<br>
<$list filter='[all[tiddlers]fieldname<value>sort[]]'>
</$list>
</$list>...what does "pick up the values, sort them alphabetically" refer to? The values are "A" so there's nothing to sort - ?A is text, it is a name. So each such field has 1 name and it varies between tiddlers.And if your reply is "well, the value can be A but it can also be anything else" then I must ask what is the common criteria that separates the relevant tiddlers from the non-relevant ones?All tiddlers are relevant.Tiddler 1 has field value JohnTiddler 2 has field value PeterTiddler 3 has field value JohnTiddler 4 has field value StevenWhat I want as output is:JohnTiddler 1 titleTiddler 3 titlePeterTiddler 2 titleStevenTiddler 4 titleTiddler titles under each name are sorted alphabetically, and are clickable links.
I'm guessing you don't want to list ALL values found in ALL fields in ALL tiddlers, right? What is the criteria to make it onto the list? (The most reasonable, for what you've asked so far, is that it only concerns those tiddlers that all have a particular field. In that case, what is that field name?)<:-)
--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+unsubscribe@googlegroups.com.
I think you just need to add an "each" operator:
<$list filter="[all[tiddlers]has[name]each[name]get[name]sort[]]" variable=value >
__<<value>>__<br>
<$list filter='[all[tiddlers]name<value>sort[]]'>
</$list>
</$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 tiddlywiki+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/608cdae2-7989-42f4-8401-14964fb9b202%40googlegroups.com.
<$list filter="[all[tiddlers]each[swimmer]sort[swimmer]get[swimmer]]" variable=value >
__<<value>>__<br>
<$list filter='[all[tiddlers]swimmer<value>sort[]]'>
</$list>
</$list>Mat, I did not say there is a field called "name"; I said there is a field value that I type a name in, and that name varies from tiddler to tiddler, though some tiddlers have a name (i.e. field value) in common.The name of the field is "swimmer" - I should have said that before. My apologies.
Like I said, your suggested macro resulted in a list of all the swimmers' names, except that if there are e.g. 3 tiddlers with swimmer's name John, your list results in John 3 times, whereas I just want John mentioned once with the 3 tiddler titles shown below his name.
Peter,I would be good if you uploaded you tiddlers when asking questions like this. Having to create lots of tiddlers with guessed fields and values to test a filter takes quite some time.
--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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/db31d868-4696-467d-a42e-8a45decd287c%40googlegroups.com.