I just opened issue #3117:

Please compare the descriptions of the parameter of the "sort" and "each" 
operator. They both state:

F = the name of a field, defaulting to title

Nevertheless, the output of these tiddlers is different if you put it into 
a "New tiddler":

<$list filter="[[New Tiddler]] [[test]] +[sort[]]">

<$list filter="[[New Tiddler]] [[test]] +[each[]]">



"each" will silently drop "test" as it is not existing and thus has no real 
"title" field, while "sort" will happily sort "test". "sort" will even do 
it when you call it as "+[sort[title]]".

We should resolve inconsistencies like this.

My PR #3116 <https://github.com/Jermolene/TiddlyWiki5/pull/3116> doesn't 
help much in this inconsistency, as it treats "each[]" and "each[title]" 

My Proposal is to either define that each non-existing tiddler has a title 
field (like "search" does) or that they don't in which case we should treat 
any "operator[]" differently than "operator[title]".

You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywikidev+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywikidev@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to