Now when include these tiddlers in a plugin with the excellent Gatha plugin, the above code no longer shows the (now shadow) tiddlers. I assume [[example]listed[category]] only returns non-shadow tiddlers. Is there any way to make it include shadow tidllers as well? I attached a test plugin for experiment.
Ahh. Thank you. This indeed does the trick. So contains:category[example] is more versatile than [example]listed[category] since the latter is a constructor that only looks for regular tiddlers whereas the first we have more control over what kind of tiddlers to look for
To be clear the default to all filters we need not specify is [all[] so when we need to also access shadow tiddlers we use [all[shadows+tiddlers]]of course if a shadow is edited it’s “tiddler” will be the one returned not the shadow.
Otherwise working code needs to be updated to include shadow tiddlers if being packaged into a plugin because they become shadows.