Eric, Thanks, this is a great work around for, However I have potentially very large filters if I use this method. I would prefer to be able to use;
[<currentTiddler>has[item-completed]title[SOME_LITERAL_VALUE]] Because I would like to have something like this "[<currentTiddler>has[item-cancelled]title[Cancelled]] [<currentTiddler>has[ item-completed]title[Completed]] [<currentTiddler>!has[item-cancelled]!has[ item-completed]has[item-started]title[Started]]" (So we get Cancelled and/or Closed) OR Started Actually Thinking about this I need a more sophisticated macro. Thanks for the working solution. Regards Tony On Thursday, September 13, 2018 at 1:22:51 PM UTC+10, Eric Shulman wrote: > > On Wednesday, September 12, 2018 at 7:08:44 PM UTC-7, TonyM wrote: >> >> *Does anyone know another way to return a value as a result of a >> condition in the middle of a filter?* >> > > Try this: > [<currentTiddler>has[item-completed]removeprefix<currentTiddler>addprefix[ > SOME_LITERAL_VALUE]] > > let me know how it goes... > > enjoy > -e > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/b98f67c9-bb8d-4302-9da8-4071434c12a2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

