I came accross this piece of docs, and it works great on my ListRecords page, but I was wondering if there is a way to also fetch the query of a table on my ViewRecord page. More specifically, a table that is owned by a relation manager.
I tried the trait on as well the ViewRecord page as the RelationManager, but I haven't had any luck so far.