Any suggestions for how to create a multi-filter search interface?
I am looking for a way to search text then click various boxes or dropdowns of tags or other data. This would be similar to Google Drive’s new search chips.
I roughly understand how I could return a result for a specific search with a filter, but I’m wanting it to be more user-friendly and clickable for others who use the site.
Thanks for your time!
Em
PS - I regularly use this forum and just wanted to say thanks to everyone who is so open and collaborative with their various solutions.
I built something along those lines a couple of years ago when I was new to TiddlyWiki 5. It involved a lot of conditionally concatenating a filter string to filter the list:
Each search “chip” saves the value to an underlying state tiddler which is used in the search if not blank.
Since then we have had a lot of improvements with filter prefixes and it probably could be done a lot more elegantly now. The :filter and :map filter run prefixes and the filter[] operator would probably be very useful.
The basic logic is: if state tiddler is not blank, then filter by the value of the state tiddler in the appropriate field.