You can reproduce Philippe's error easily enough. See attached. If you use 
an inverse, everything gets inversed.

If the macro expected one or more runs, rather than a run sub-set, there 
might be a way to do it with filter operators.

As it is, I think what you would have to do is create your own sortby field 
for the Journal entries that have values that are inverse to the created 
date (like a nine's complement for instance). Or, you could put the sort 
order you wanted in the Journal tiddler's list field. Either way will 
involve extra steps.

Mark

On Thursday, December 8, 2016 at 7:08:42 PM UTC-8, Riz wrote:
>
>
>
> 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/49b03a3c-4cf2-41bc-a26e-079154c6158d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to