Is there any limitation for using sortan?

42 views
Skip to first unread message

Mohammad Rahmani

unread,
May 18, 2021, 1:29:57 PM5/18/21
to tiddl...@googlegroups.com
1. Open
2. Create a tiddler with below contents

<$list filter="[tag[About]sortan[tags]]"/>

3. The Red window of Death has appeared!

image.png


This wikitext works fine (note sort is used)

<$list filter="[tag[About]sort[tags]]"/>



Best wishes
Mohammad

Saq Imtiaz

unread,
May 18, 2021, 1:39:32 PM5/18/21
to TiddlyWiki
Could you create an Issue please?

The problem is that you are trying to sort by tags which is a list field and therefore internally an array, whereas sortan works with strings. I don't know that it makes sense to try and support sortan for the tags or list field, but it should fail gracefully and not throw an error.

Mohammad Rahmani

unread,
May 18, 2021, 2:12:18 PM5/18/21
to tiddl...@googlegroups.com
Sure! I submit a ticket!


Best wishes
Mohammad


--
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/4e3b0680-0b74-48f9-a7ce-7f66ef6b227bn%40googlegroups.com.

Mohammad Rahmani

unread,
May 18, 2021, 2:22:35 PM5/18/21
to tiddl...@googlegroups.com
An issue has been submitted on GitHub


Best wishes
Mohammad

Reply all
Reply to author
Forward
0 new messages