~
, if the filter output so far is an empty list then the output titles of the run are dominantly appended to the filter's output. If the filter output so far is not an empty list then the run is ignoredIn technical / logical terms:
Run | Interpretation | Output |
---|---|---|
run | union of sets | ... OR run |
+run | intersection of sets | ... AND run |
-run | difference of sets | ... AND NOT run |
~run | else | ... ELSE run |
<<currentTiddler>>
<$set name=display-title filter="[all[current]get[caption]] ~[{!!title}]">
<<display-title>>
<$link to=<<currentTiddler>> tooltip="Open tiddler"><<display-title>></$link>
</$set>
It worked as expected for me when I tested in tiddlywiki-prerelease page.
sincerely
Riz
<$list filter="[all[current]get[test]] ~[all[current]get[test2]] ~[all[current]get[test3]]">
</$list>
<$list filter="[all[current]get[test]] ~[all[current]get[test2]] ~[all[current]get[test3]] ~[[emptyval]]" emptyMessage="Empty">
</$list>
<$list filter="[all[current]get[test]] ~[[testempty]]">
</$list>
On 22 Nov 2018, at 06:47, TonyM <anthony...@gmail.com> wrote:
<<currentTiddler>>
<$set name=display-title filter="[all[current]get[caption]] ~[{!!title}]">
<<display-title>>
<$link to=<<currentTiddler>> tooltip="Open tiddler"><<display-title>></$link>
</$set>