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
--
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/456dc638-1ad2-4927-a01f-17ca4bfddb04n%40googlegroups.com.