Hello everyone!

I have journal entries which are sorted by the value in their 'date' field 
'YYYY0MM0DD'. They are listed in their journal tag tiddler using '<$list 
filter="[!has[draft.of]tag[Journal]!sort[date]]">'. This  works great, but 
additionally in every journal entry I want a link to the previous and next 
entry.

One way to do it would be to use the next and previous filter operator, 
however the documentation says this only works on list fields and my 
journal doesn't have one. How do I create this list and automatically add 
new entries to it when I use my "new journal entry" button? Is there a 
plugin for this or can the core do it? I think the filter would look like 
"[[{{!!title}}]next[Journal]]", but '{{!!}}' doesn't seem to work in filter 
expressions.

Another way would be to build on the current filter, something like 
"[[field:date[{{!!date}}]]next[!has[draft.of]tag[Journal]!sort[date]]]". 
However that doesn't work because next only works on lists instead of 
filters and again also because '{{!!}}' doesn't seem to work in filter 
expressions.

How do I index from the current tiddler in a filter expression? Also for 
large lists do you think it would be better for performance to use the 
method with the list or one with a large filter expression?

Thanks!

With kind regards,
Alex

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to