Hi,
I want to update the field of tiddlers that have been filtered based on a compare operator ..
I have a set of tiddlers taged "test-1"
Each of them have a "date" field which stores a specific YYYYMMDD
I want to filter all of these tiddlers whose date value is greated than {!!testval}
And for each tiddler I want to set a specific field ('tempid') with a value
When I run the below code, the <<currentTiddler>> is note the title of the filtered tiddler bur the date value !!! So at the end the action-setfield is applied on new tiddler whose title is the date value and not my existing 'test-1" tiddlers.
It turns around this <<currentTiddler>> that I do not use correctly but cannot figure out how to solve it ...
Any expert who could help .. ??
Many thanks in advance
Vpl
\define my_test()
<$list filter="[tag[test-1]get[date]compare:date:gt{!!testval}]">
<$action-setfield $tiddler=<<currentTiddler>> $field="tempid" $value="44444"/>
</$list>
\end