You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a test set for quick evaluation. The pack contains below tiddlers
Test Path
$:/config/FileSystemPaths
One
Two
Thirty Four
16th August 2024
The test path contains a method by @saqimtiaz to check the validity of filters in $:/config/FileSystemPaths
it works, but the file saved with no title. Seems something goes strange in FS and does not respect the <..currentTiddler>.
The 16th August 2024 has diary field with One Two [[Thirty Four]] as value.
The problem here is that there is no value of the variable currentTiddler in the filter expression of a file system path unless set by a filter run within it. See #8544
Describe the bug
There is an interesting discussion on Talk: https://talk.tiddlywiki.org/t/file-system-path-store-tiddlers-come-from-a-tiddler-field/10419. The question is how to write a filter for
$:/config/FileSystemPaths
to store tiddlers listed indiary
field of other tiddlers underdiary/
sub folder.The working filter is reported to be: (I tested and it works as said)
For curiosity, I changed the filter as below to add the tiddler lists the target tiddler in its
diary
field to the path. So, I used:map
:and I noticed the
<..currentTiddler>
. as tiddlers are stored as.tid
with no title.Expected behavior
The filter
[has[title]listed[diary]] :map[get[title]addsuffix[/diary/]addsuffix<..currentTiddler>]
in$:/config/FileSystemPaths
should work.The
<..currentTiddler>
should return the value of the variable currentTiddler outside the filter run.TiddlyWiki Configuration
The text was updated successfully, but these errors were encountered: