list filter won't work with tags if they have spaces

38 views
Skip to first unread message

Sapphireslinger

unread,
Mar 3, 2020, 4:20:19 AM3/3/20
to TiddlyWiki
This doesn't work because the tag Child Education has a space:

<$list filter="[tag[5-star]tag[Child Education]sort[title]]">

Putting \%20 in the space doesn't work either.

I am using TiddlyWiki 5.1.19

(I am trying to sort my books.)

Is there already a tiddlywiki for sorting books?

Mat

unread,
Mar 3, 2020, 4:34:46 AM3/3/20
to TiddlyWiki

<$list filter="[tag[5-star]tag[Child Education]sort[title]]">


Spaces are not a problem so it is likely something else. Perhaps you just don't have any tiddlers tagged both "5-star" and "Child Education"?
BTW, I'm assuming you have a </$list> somewhere because that snip doesn't close the listwidget. Sorry if I'm stating the obvious.

Is there already a tiddlywiki for sorting books?


Depends on what you want. It is more a matter of designs since "sorting" is just a function and "for books" is just a use case as well as "for furniture parts". I.e you could maybe use a wiki for sorting furniture parts but just fill it with book titles instead. Anyway, a good start is probably to look at the ToC macros

<:-)

Sapphireslinger

unread,
Mar 3, 2020, 4:39:58 AM3/3/20
to TiddlyWiki
Sorry all. It is working now for some reason.

Sapphireslinger

unread,
Mar 3, 2020, 4:43:39 AM3/3/20
to TiddlyWiki
Thank you Mat. I did not have the </$list> thingie anywhere. (But it was still working.) I have put it back in just to be safe.
Reply all
Reply to author
Forward
0 new messages