On Saturday, May 16, 2015 at 10:03:42 PM UTC-7, Brian Gates wrote:
>
> Right, but if I wanted to filter by a Spell field "school", and I wanted 
> an "all" option, what might I do?  I don't have the same luxury of 
> necessarily specifying Spell as the tag, I have to fill in something for 
> the filter.
>

To get all tiddlers that has a "school" field, regardless of the value, you 
would need to use the "has[school]" filter instead of 
"school<!!schoolfilter>".

You can accomplish this by using a pair of <$reveal> widgets that uses the 
{{!!school_filter}} input as the state:

<$reveal type="match" text="All" state="!!school_filter">
<$list filter="has[school]">
   ...
</$list>
</$reveal>
<$reveal type="nomatch" text="All" state="!!school_filter">
<$list filter="school{!!school_filter}">
   ...
</$list>
</$reveal>

enjoy,
-e
Eric Shulman
ELS Design Studios
TiddlyTools - "Small Tools for Big Ideas!"
InsideTiddlyWiki: The Missing Manuals

YOUR DONATIONS ARE VERY IMPORTANT!
HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"...
   http://TiddlyTools.github.com/fundraising.html#MakeADonation

Professional TiddlyWiki Consulting Services...
Analysis, Design, and Custom Solutions:
   http://www.TiddlyTools.com/#Contact

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ea56d8ef-3add-467a-a054-90b52b295832%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to