[tw5] Re: sort:version:reverse?

2024-04-16 Thread springer
Interesting! The documentation DOES imply that you can tuck :reverse into 
the very place where you had it!

Perhaps this is just an error in documentation? In fact it works fine if it 
comes *before* the sort-type parameter:

`{{{ [has[version]] :sort:reverse:version[get[version]] }}}`

On Tuesday, April 16, 2024 at 7:31:00 PM UTC-4 Cade Roux wrote:

> I see, I can use that separate reverse operator instead of doing it in the 
> initial sort.
>
> I'm still not sure how to use the reverse documented here in the flaglist 
> in the :sort filter run prefix:
>
> https://tiddlywiki.com/#Sort%20Filter%20Run%20Prefix
>
> [image: Screenshot 2024-04-16 182937.png]
>
> I'll post any future questions in the other forums.
>
> Thanks,
>
> Cade
>
> On Tuesday, April 16, 2024 at 6:01:18 PM UTC-5 springer wrote:
>
>> Of course, I meant "come on over *from* google groups, and join us at 
>> talk.tiddlywiki.org"
>>
>> On Tuesday, April 16, 2024 at 6:59:58 PM UTC-4 springer wrote:
>>
>>> Hello Cade! As you might note with other posts at google groups, the 
>>> community for this discussion has migrated to talk.tiddlywiki.org.
>>>
>>> Although we (at that forum) can still *see* posts from the google group, 
>>> we can't reply easily to them. 
>>>
>>> So please come on over to google groups.
>>>
>>> Meanwhile, I can suggest that the documentation on the reverse Operator 
>>>  shows that it 
>>> doesn't take a parameter, nor does it work as a parameter within the sort 
>>> filter run prefix; instead it works at the "caboose" end of any filter to 
>>> flip the list order. Something like this works at Tiddlywiki.com:
>>>
>>> `{{{ [has[version]] :sort:version[get[version]] +[reverse[]] }}}`
>>>
>>> On Tuesday, April 16, 2024 at 12:29:33 PM UTC-4 Cade Roux wrote:
>>>
 I have change logs with a field for version information, and I am 
 trying to sort them in reverse order and it doesn't appear to be working.  
 The change log tiddlers themselves are also lists, but I cleared all that 
 out and loaded these into the latest TW version to make a minimal 
 reproducible case.  If I take out the sort entirely, the 10.0 comes to the 
 top as you would expect for them to be sorted by title.  But the sort 
 either with or without :reverse is the same.
 [image: Screenshot 2024-04-16 112417.png]
 <$list filter="[ascend.change[index]] 
 :sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
 /><$transclude/>

 [image: Screenshot 2024-04-16 112528.png]
 What am I doing wrong?

>>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea64f566-1e53-4bf3-89f0-8507e96c9124n%40googlegroups.com.


[tw5] Re: sort:version:reverse?

2024-04-16 Thread Cade Roux
I see, I can use that separate reverse operator instead of doing it in the 
initial sort.

I'm still not sure how to use the reverse documented here in the flaglist 
in the :sort filter run prefix:

https://tiddlywiki.com/#Sort%20Filter%20Run%20Prefix

[image: Screenshot 2024-04-16 182937.png]

I'll post any future questions in the other forums.

Thanks,

Cade

On Tuesday, April 16, 2024 at 6:01:18 PM UTC-5 springer wrote:

> Of course, I meant "come on over *from* google groups, and join us at 
> talk.tiddlywiki.org"
>
> On Tuesday, April 16, 2024 at 6:59:58 PM UTC-4 springer wrote:
>
>> Hello Cade! As you might note with other posts at google groups, the 
>> community for this discussion has migrated to talk.tiddlywiki.org.
>>
>> Although we (at that forum) can still *see* posts from the google group, 
>> we can't reply easily to them. 
>>
>> So please come on over to google groups.
>>
>> Meanwhile, I can suggest that the documentation on the reverse Operator 
>>  shows that it 
>> doesn't take a parameter, nor does it work as a parameter within the sort 
>> filter run prefix; instead it works at the "caboose" end of any filter to 
>> flip the list order. Something like this works at Tiddlywiki.com:
>>
>> `{{{ [has[version]] :sort:version[get[version]] +[reverse[]] }}}`
>>
>> On Tuesday, April 16, 2024 at 12:29:33 PM UTC-4 Cade Roux wrote:
>>
>>> I have change logs with a field for version information, and I am trying 
>>> to sort them in reverse order and it doesn't appear to be working.  The 
>>> change log tiddlers themselves are also lists, but I cleared all that out 
>>> and loaded these into the latest TW version to make a minimal reproducible 
>>> case.  If I take out the sort entirely, the 10.0 comes to the top as you 
>>> would expect for them to be sorted by title.  But the sort either with or 
>>> without :reverse is the same.
>>> [image: Screenshot 2024-04-16 112417.png]
>>> <$list filter="[ascend.change[index]] 
>>> :sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
>>> /><$transclude/>
>>>
>>> [image: Screenshot 2024-04-16 112528.png]
>>> What am I doing wrong?
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a4726e2-b175-477a-ba4d-eed137d76414n%40googlegroups.com.


[tw5] Re: sort:version:reverse?

2024-04-16 Thread springer
Of course, I meant "come on over *from* google groups, and join us at 
talk.tiddlywiki.org"

On Tuesday, April 16, 2024 at 6:59:58 PM UTC-4 springer wrote:

> Hello Cade! As you might note with other posts at google groups, the 
> community for this discussion has migrated to talk.tiddlywiki.org.
>
> Although we (at that forum) can still *see* posts from the google group, 
> we can't reply easily to them. 
>
> So please come on over to google groups.
>
> Meanwhile, I can suggest that the documentation on the reverse Operator 
>  shows that it 
> doesn't take a parameter, nor does it work as a parameter within the sort 
> filter run prefix; instead it works at the "caboose" end of any filter to 
> flip the list order. Something like this works at Tiddlywiki.com:
>
> `{{{ [has[version]] :sort:version[get[version]] +[reverse[]] }}}`
>
> On Tuesday, April 16, 2024 at 12:29:33 PM UTC-4 Cade Roux wrote:
>
>> I have change logs with a field for version information, and I am trying 
>> to sort them in reverse order and it doesn't appear to be working.  The 
>> change log tiddlers themselves are also lists, but I cleared all that out 
>> and loaded these into the latest TW version to make a minimal reproducible 
>> case.  If I take out the sort entirely, the 10.0 comes to the top as you 
>> would expect for them to be sorted by title.  But the sort either with or 
>> without :reverse is the same.
>> [image: Screenshot 2024-04-16 112417.png]
>> <$list filter="[ascend.change[index]] 
>> :sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
>> /><$transclude/>
>>
>> [image: Screenshot 2024-04-16 112528.png]
>> What am I doing wrong?
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5c8066ba-dd73-4b90-891b-2e7507b8fb07n%40googlegroups.com.


[tw5] Re: sort:version:reverse?

2024-04-16 Thread springer
Hello Cade! As you might note with other posts at google groups, the 
community for this discussion has migrated to talk.tiddlywiki.org.

Although we (at that forum) can still *see* posts from the google group, we 
can't reply easily to them. 

So please come on over to google groups.

Meanwhile, I can suggest that the documentation on the reverse Operator 
 shows that it 
doesn't take a parameter, nor does it work as a parameter within the sort 
filter run prefix; instead it works at the "caboose" end of any filter to 
flip the list order. Something like this works at Tiddlywiki.com:

`{{{ [has[version]] :sort:version[get[version]] +[reverse[]] }}}`

On Tuesday, April 16, 2024 at 12:29:33 PM UTC-4 Cade Roux wrote:

> I have change logs with a field for version information, and I am trying 
> to sort them in reverse order and it doesn't appear to be working.  The 
> change log tiddlers themselves are also lists, but I cleared all that out 
> and loaded these into the latest TW version to make a minimal reproducible 
> case.  If I take out the sort entirely, the 10.0 comes to the top as you 
> would expect for them to be sorted by title.  But the sort either with or 
> without :reverse is the same.
> [image: Screenshot 2024-04-16 112417.png]
> <$list filter="[ascend.change[index]] 
> :sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
> /><$transclude/>
>
> [image: Screenshot 2024-04-16 112528.png]
> What am I doing wrong?
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4041299d-4c5e-4e77-a849-9f337b0b3a32n%40googlegroups.com.


[tw5] sort:version:reverse?

2024-04-16 Thread Cade Roux
I have change logs with a field for version information, and I am trying to 
sort them in reverse order and it doesn't appear to be working.  The change 
log tiddlers themselves are also lists, but I cleared all that out and 
loaded these into the latest TW version to make a minimal reproducible 
case.  If I take out the sort entirely, the 10.0 comes to the top as you 
would expect for them to be sorted by title.  But the sort either with or 
without :reverse is the same.
[image: Screenshot 2024-04-16 112417.png]
<$list filter="[ascend.change[index]] 
:sort:version:reverse[get[ascend.version]]"><$link to={{!!title}} 
/><$transclude/>

[image: Screenshot 2024-04-16 112528.png]
What am I doing wrong?

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/4e1cac41-062a-436d-ad60-d71a294dac0bn%40googlegroups.com.