Replies: 1 comment 2 replies
-
I read the doc again and it seems the above code works correctly. The doc says: If the output of a :then prefixed filter run is itself an empty list, the result of all previous filter runs is passed through unaltered. So my code above works correctly! Sorry for confusion. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
<$list filter="[all[current]!is[system]] :then[all[current]links[]count[]compare:integer:gteq[1]]"> I am here! -- <<currentTiddler>> </$list>
It shows
I am here! – New Tiddler 1
while it should display nothing!If you change the code as below (note to the value in
gteq[0]
)<$list filter="[all[current]!is[system]] :then[all[current]links[]count[]compare:integer:gteq[0]]"> I am here! -- <<currentTiddler>> </$list>
It shows
I am here! – 0
This is correct!Beta Was this translation helpful? Give feedback.
All reactions