[TW5] tabs macro sort by list , how?

128 views
Skip to first unread message

Siniy-Kit

unread,
Oct 20, 2015, 2:46:05 AM10/20/15
to TiddlyWiki
Hi! i have my tads macro  and list field. i try different variants to sort them by list
<<tabs "[all[shadows+tiddlers]tag[$:/_aa/sort/plitka]!has[draft.of]]"  "$:/_aa/sort/nazvanieup" "sort[list]">>

<
<tabs "[all[shadows+tiddlers]tag[$:/_aa/sort/plitka]!has[draft.of]sort[list]]"  "$:/_aa/sort/nazvanieup" >>


but sort by list dont work. Is it possible to sort tabs by list?

Matabele

unread,
Oct 20, 2015, 6:12:01 AM10/20/15
to TiddlyWiki
Hi

Have a look at my action-listops widget and the associated filters (x-listops.js) -- included is a sortby[] filter which may match your requirements. They may be found here with some documentation as to their use.

The widget (and the filter operators) are in the process of development, and I would appreciate any feedback as to their usage -- you may comment on this forum, or at Github here.

regards

Siniy-Kit

unread,
Oct 20, 2015, 2:27:04 PM10/20/15
to TiddlyWiki
Thank you Bill. your sortby works good, but  i simple make tiddler with name $:/_aa/sort/plitka and put my list field there.

вторник, 20 октября 2015 г., 13:12:01 UTC+3 пользователь Matabele написал:

Matabele

unread,
Oct 20, 2015, 3:02:41 PM10/20/15
to TiddlyWiki
Hi

That's fine -- my widget is designed to make use of a filter expression to manipulate lists -- there's nothing special about any of my  filter operators (other than they were designed to operate on lists.) They may be used anywhere that a filter expression is accepted (including in the $list widget.)

Glad to hear that my work is of some use -- you are the first to make use of it :-)

regards
Reply all
Reply to author
Forward
0 new messages