RoamJS Smartblock Filter not working
After the migration from the the Smartblocks project from Roam42 to RoamJS, my BLOCKMENTIONS queries stopped working.
It was not clear what I needed to change from the docs on the migration.
Here is what you need to do in order to apply filters to your query:
<%BLOCKMENTIONS:15,TODO,(({uid})),planned,-query%>
You need to insert the format option as the second parameter as it’s default value (({uid}))
so that you can then provide the 3rd option: the filter.
Anything you put in the second parameter other than this will become the result. It’s part of the new formatting feature.
This is why the results of your queries return all the same value: the first filter of your Smartblocks V1 query.