$:/.tb/macros/list-search

76 views
Skip to first unread message

David Gifford

unread,
Feb 16, 2015, 7:50:05 AM2/16/15
to tiddl...@googlegroups.com
Tobias

Is there a way to filter by other fields as well as by title in $:/.tb/macros/list-search?

I tried

<<list-search
"[!is[system]!tag[exclude]sort[.tw]]"
"search:title+fieldname+fieldname"
"$:/temp/list-search-sidebar-system-and-shadows"
"$:/_aa/aa/list-item-view-glinks">>

And also tried removing the search line, neither with success.

I ask because I have the list displayed as

<div class="tc-menu-list-item">
<b><$view field=".tw"/></b> / <$view field="tentativetags"/> / <$link><$view field="title"/></$link><br></div>

and would like to narrow the list down. Is this possible?

Dave

Dave

Tobias Beer

unread,
Feb 16, 2015, 3:12:02 PM2/16/15
to
Is there a way to filter by other fields as well as by title in $:/.tb/macros/list-search?

Not quite (yet), the core search filter doesn't yet cater for that.

There's this pull request which is asked for some more rework which I haven't yet gotten around to:

extended search filter

If I remember right, things like $custom, $standard, $text are not going to make it into the core as in that proposal, but $all will, as well as enumerating any (custom) fields you wish to search.

I'd not advise you to use the components referenced in that demo, because they will likey change and then it may be more difficult to remember updating to the final version.

Best wishes, Tobias.

David Gifford

unread,
Feb 16, 2015, 5:15:51 PM2/16/15
to tiddl...@googlegroups.com
Okay thanks Tobias!

Dave

On Mon, Feb 16, 2015 at 2:12 PM, Tobias Beer <beert...@gmail.com> wrote:
Is there a way to filter by other fields as well as by title in $:/.tb/macros/list-search?

Not quite (yet), the core search filter doesn't yet cater for that.

There's this pull request which is asked for some more rework which I haven't yet gotten around to:

extended search filter

If I remember right, things like $custom, $standard, $text are not going to make it into the core as in that proposal, but $all will, as well as enumerating any (custom) fields you wish to search.

Best wishes, Tobias.

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/R2nniF26cnk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages