can I set the filter in a set_query to filter on the value of a child table field in the referenced doctype?
If I have DoctypeA that has a link field “link” to DoctypeB, and DoctypeB has a table field.
The table has TableFieldA, TableFieldB.
How do I set the link field query in DoctypeA to show only DoctypeBs that have value XX in TableFieldA?
I suggest you take a look at this documentation. It’s possible that you’ve used a custom method for applying logic, so this documentation might help you understand better.