Thank you so much, this works!

maanantai 11. tammikuuta 2021 klo 19.19.43 UTC+2 Mark S. kirjoitti:

> You'll probably need two list loops. This works in my tests:
>
> <$list filter="[!is[system]has[frequency]!sort[priority]limit[10]]">
> <$list filter="[all[current]!days:mydate{!!frequency}]">
> <$link><$view field="title"/></$link><br/>
> </$list>
> </$list>
>
> Note that I use "mydate" as the date field, since it's difficult to set a 
> modified field's date (it gets reset every time you edit it).
>
>
> On Monday, January 11, 2021 at 2:52:04 AM UTC-8 kdot wrote:
>
>> Hello! I'm having difficulties in creating a filter expression to list 
>> tiddlers that have not been modified in x days, where x is specified in 
>> each tiddlers "frequency" field.
>> Example: I want ProjectOne to appear on the list if it hasn't been 
>> modified for a week, and ProjectTwo if it hasn't been modified for a year. 
>> I have set ProjectOne's frequency field to -7, while ProjectTwo has a 
>> frequency of -365.
>>
>> I'd imagine the list widget would look something like this.
>> <$list filter="!is[system]*!days[?????]*!sort[priority]limit[10]">
>>
>> <$link><$view field="title"/></$link>
>> </$list>
>>
>> The problem is I haven't been able to find a way to reference the 
>> "currentTiddler" in the filter expression. My tries have so far lead to the 
>> days operator taking the frequency value from the tiddler where the list is 
>> located instead of the tiddler that is going to be listed next.
>>
>> Is there some easy way to achieve what I'm trying to do here?
>> Thank you in advance for anyone that can help me out!
>>
>> ~K
>>
>>
>>

-- 
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/a6dd463b-aa08-4615-bfd8-122d2f2a894cn%40googlegroups.com.

Reply via email to