I am trying to group some tiddlers by created date, using the eachday
filter to select the dates then the sameday filter to list all tiddlers
created on that date. However, it appears that instead of listing the
tiddlers created on that date, it instead lists those modified on that
date. The following illustrates the problem:
<$list filter="[eachday[created]!sort[created]]">
Created <$view field="created" format="date" template="DDth mmm YYYY"/>:
<$list filter="[sameday{!!created}!sort[created]]">
* <$view field='title'/>... created on <$view field='created' format='date'
template='DDmmm'/>... modified on <$view field='modified' format='date'
template='DDmmm'/><br>
</$list>
</$list>
Looking at the code for the sameday filter vs the eachday filter, the
former refers to the field using
operator.suffix || "modified"
while the latter uses
operator.operand
.
I haven't probed any deeper into how the code works... Is there a reason
for this different reference? Am I missing something?
Neil.
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.