<div class='input'>
<label>Filter by Class</label>
<$select field='selected_class' default='All'>
<option value='All'>All</option>
<$list filter='[tag[Class]]'>
<option value=<<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>
</div>
<ul>
<$list filter="[tag[Spell]tag{!!selected_class}]">
<li>{{!!title}}</li>
</$list>
</ul><div class='input'>
<label>Filter by Class</label>
<$select field='selected_class' default='All'>
<option value='Spell'>All</option>
<$list filter='[tag[Class]]'>
<option value={{!!title}}>{{!!title}}</option>
</$list>
</$select>
</div>
<ul>
<$list filter="[tag{!!selected_class}]">
<li>{{!!title}}</li>
</$list>
</ul>
--
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/FREkHZwIyG0/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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/c02f9594-2b77-4421-97f4-fc874fba0a90%40googlegroups.com.
Am I correct in assuming there's no wildcard option for the parameter? Like, if I wanted to filter by a field instead, how might I accomplish this?
--
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/FREkHZwIyG0/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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/77d5c3c3-fd9b-4d74-9b0a-499c7fdff369%40googlegroups.com.
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.
<$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>
<$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>
--
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/FREkHZwIyG0/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.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/f88f3935-0df0-4a7e-92f4-d4aaf7ec6834%40googlegroups.com.
On Sun, May 17, 2015 at 12:25 AM, Eric Shulman <elsd...@gmail.com> wrote:
--