Small enhancement:

\define searchInField(field, for)

<$list filter="[!is[shadow]!is[system]field:$field$/$for$/]">

<$link><$view field="title"/></$link>

</$list>

\end

<$reveal state="$:/temp/search" type="nomatch" text="">
<$list filter="[!is[shadow]!is[system]fields[]]" variable="fieldname">

Searching in field: <<fieldname>>

<$macrocall $name="searchInField" field=<<fieldname>> 
for={{$:/temp/search}}/>

</$list>
</$reveal>


This will hide the results when no search text was entered.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to