WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Discussion options

You must be logged in to vote

Figured out were I went wrong: while inside a filter, the variables have a different syntax, with single angle brackets and without square brackets. See section "Special parameters" in Introduction to filter notation.

The fixed wikitext is then:

<<list-links filter:"[tag<currentTiddler>]">>

<$list filter="[tag<currentTiddler>sort[title]]"/>

Though output of ListWidget needs heavy tweaking to resemble output of <<list-links>>:

<ul>
  <$list filter="[tag<currentTiddler>sort[title]]">
    <li><$link to=<<currentTiddler>> /></li>
  </$list>
</ul>

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rybak
Comment options

You must be logged in to vote
1 reply
@rybak
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants