A visual filter tiddler- 3 stage, selective step by step filtering

48 views
Skip to first unread message

barro...@gmail.com

unread,
Oct 12, 2018, 1:39:25 AM10/12/18
to TiddlyWiki
A visual 3 stage, selective step by step, selection filter for listing/displaying tiddlers by 3 selections of tags.  Why this and not Advanced Search "by filter"?  Not only will it display the end result but also shows the pools of tags to select from and the pools of tiddlers of each selection step being selected from. 

If using tiddler tags (for keywords or categories), it will display the pool of tags to select from in the selection box drop-down menu's and below each selection box,  the pool of each selection's results will display.

The stages can be set for various filter logic, producing lists such as item(s) that are this and/or/not also this and/or/not also this.  Once you learn the filters in it, it would be easy to change the filters and their logic functions (and,or,not) of each step for results like:
  • items that are this _AND_ this _AND_ this
  • items that are this _AND_ this _OR_ this
  • items that are this _AND_ this _NOT_ this
  • etc...
  • Haven't gotten to adding the drop-down selectors for logic function yet, but planning to.
  • Additional steps can be added for something like a 8 stage filter run or sorting.
Currently don't have filler content for a demo to work with but this screenshot shows it working with my personal content.  This being in MMORPG & RPG terms, its certain type of characters (1st step/column) that are also of this type of character (2nd step/column) that are in a certain area (3rd step/column) displayed in the 4th column to the far right.
http://pyewackit.net/cityof/Clipboardn01.jpg

Uses: for selection steps
(tags prefixed with * I use for keywords/categories)

<$select field='filter-field1'>
<$list filter='[all[tiddlers]prefix[*]]'>
<option value=<
<currentTiddler>>><$view field='title'/></option>
</$list>
</$select>
__Step # results__
<$list filter="[tag{!!filter-field1}]"><$link><$view field=title/></$link>
<br/>
</$list>

far right results column (filter composed of the filter fields set by the selection stages)

__FINAL RESULTS__<br/>
<$list filter="[tag{!!filter-field1}tag{!!filter-field2}tag{!!filter-field3}]"><$link><$view field=title/></$link>
<br/>
</$list>

only other step is to create fields "filter-field1" "filter-field2" "filter-field3"

actual tiddler with coding attached below

#multi keyword browser.tid
Reply all
Reply to author
Forward
0 new messages