The question is where do we put this filter?

You can't put it in the toc macro because it complains Filter Expression 
Error.

You can't do something like this:
<$list filter="[all[current]has[caption]get[caption]] 
[all[current]!has[caption]get[title]] +[reverse[]]">
<div class="tc-table-of-contents">
<<toc-selective-expandable "TableOfContents">>
</div>
</$list>

because it doesn't do any sort.

So where would a filter like this go?

Thanks!


On Wednesday, September 12, 2018 at 10:18:12 AM UTC-7, Mark S. wrote:
>
> It sounds like you have things mostly sorted out.
>
> A filter like this might allow you to sort by caption or title (whichever 
> is present):
>
> [has[caption]get[caption]] [!has[caption]get[title]] +[sort[]]
>
> Just remember, that if you use caption then there might be more than one 
> tiddler that uses that caption and you can't form a standard link based on 
> the caption name.
>
> Good luck!
> -- Mark
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/54014c22-9bf2-461c-b188-46db94eeaf74%40googlegroups.com.

Reply via email to