Automatic Query based on the parent block reference

Hi @mentaloid
If I add your code nothing happened.
Probably I need to add somehting more?