I’m not quite sure I understand what you are trying to achieve here.
A little while ago, I posted a little plugin to filter by structure field values in this post, maybe it helps: New Kirby Related Pages plugin
I’m not quite sure I understand what you are trying to achieve here.
A little while ago, I posted a little plugin to filter by structure field values in this post, maybe it helps: New Kirby Related Pages plugin