Try this: [all[tiddlers]] :filter[get[modified]compare:date:gt[2021]]
On Tuesday, May 4, 2021 at 9:09:42 AM UTC+2 [email protected] wrote: > Hey Mark, > > that doesn't seem to work in the advances search filters tab (see > attachment) I assume it won't work with $tw.wiki.filterTiddlers in a plugin > either. > > >TW Tones > if you put this into the seach box in the image i attached hopefully it's > clearer [all[tiddlers]get[modified]compare:date:gt[2021]] > > I would just like a way to return a list of tiddlers older or newer than a > given date (though the date might be a custom field in the future) > > Thanks > > James > > > > > On Tuesday, 4 May 2021 at 03:30:17 UTC+1 Mark S. wrote: > >> You need the "filter" operator which is actually a subfilter operator. It >> requires you to pre-specify the inner filter with a variable: >> >> <$vars myfilt="[get[modified]compare:date:gt[2021]]"> >> <<list-links "[all[tiddlers]filter<myfilt>]">> >> </$vars> >> >> >> >> On Monday, May 3, 2021 at 3:56:30 PM UTC-7 [email protected] wrote: >> >>> Hello, >>> >>> I've tried [all[tiddlers]get[modified]compare:date:gt[2021]] in advanced >>> search but this seems to give me links to tiddlers named after modified >>> field >>> >>> eventually would like to do this in a plugin via >>> $tw.wiki.filterTiddlers, is there a way to do this in the advanced search >>> on the filters tab? If nto what is the best way to do this in a widget? >>> >>> >>> thanks, >>> James >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/297c25c2-a0f5-42c6-b94c-f8503b028e92n%40googlegroups.com.

