Sorry Philippe - I was not able to reproduce that error. Can you post an
HTML file with just the issue you raised?
Funnily enough, When I was trying to reproduce it, I realized the
limitation of this method. It is not working as I thought it was.
When we give <<toc-selective-expandable 'TableOfContents'
"sort[title]!sort{!!fuzzy}" >> , the first criteria -ie, sort[title], is
not considered at all. TW5 only tries the second criteria -ie sort{!!fuzzy}
and when it cannot find a field named fuzzy, it falls back to the default
which is 'sort[]'. This was what was giving the impression that a
sort[title] criteria is being worked out
Proof:
1. You can get the same results withe just <<toc-selective-expandable
'TableOfContents' "*sort{!!fuzzy}*" >>.
2. Try using <<toc-selective-expandable 'TableOfContents' "*!sort*{!!fuzzy}"
>>
3. You can try using any other sort parameter as the first criteria. Say
<<toc-selective-expandable 'TableOfContents' "*sort[modified]*!sort{!!fuzzy}"
>> - *it won't work.*
Hence this will only work if you are intending to sort by title mainly -
but want few exceptions.
hmmm, would have been nice to have the option.
Riz
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/5298b8df-490c-44cb-9132-0ad480a9ef47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.