You have an example I can look at somewhere? I just tried to extract one of the filters and it doesn't appear to be working - probably because of the curlybracket reference to the value of another tiddler set by the dropdowns?
\define obsname() contains:ascend.observation.name{$:/ascend/state/observation.name.selected} \end Then I tried to use it as subfilter<obsname> in the filter where that original filter was and the filter no longer works as expected. I think I need to make up a toy version of this wiki so people can see it in action. Thanks, Cade On Wednesday, September 30, 2020 at 6:22:25 PM UTC-5 joshua....@gmail.com wrote: > You can define sections of that filter as macro definitions, and then call > them with "subfilter<macroFilter1>". > > I.e. "[all[tiddlers+shadows]tag[MyTag]subfilter<macroFilter1> > subfilter<macroFilter2> sort[]]" > > Define them at the start of the tiddler which is using the filter, or > define them in other tiddlers and import using the "\import > filter-to-import" Pragma at the top of the text field where the filters > will be used. > > Best, > Joshua Fontany > On Wednesday, September 30, 2020 at 10:41:23 AM UTC-7 Cade Roux wrote: > >> What is the best technique to break up very long runs in a filter >> (preferably to different lines)? Can't use whitespace since that separates >> runs. I have a filter that is currently 382 characters. >> >> It selects a subset of tiddlers on one field, then four other fields >> individually have to have tags matching four dropdowns which allow the user >> to filter, and then it is sorted. Some of that can be mitigated with >> shorted field names, but it still is unwieldy in most editors. >> >> Thanks, >> >> Cade >> > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/786aedea-a793-48f4-97c7-bb528284af2dn%40googlegroups.com.