Replies: 1 comment 1 reply
-
There is a know bug to do with functions and the value of currentTiddler, see #8178 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This will produces
That means the
..currentTiddler
is not known inside a function andcurrentTiddler
also refers to the value of the variable currentTiddler outside the filter run. Note that in the first two examples (direct use of ..currentTiddler in :map and subfilter) work as expected.NOTE
If I change function like this:
\function f.getType() [get[title]addprefix[ → ]addprefix<currentTiddler>]
, it will produce the correct answer.Question
Is this the correct behaviour for function used inside a filter run prefix (here :map, but :sort and other filter run prefix may be used)?
Beta Was this translation helpful? Give feedback.
All reactions