How to disable field/relationship?

Hello @Alban_Bertolini

I’m running into a similar issue. Everytime we add a new relationship or field in the table it is automatically added to the “index” view. Unfortunately this leads to slow queries that hurt our database health. When we notice we disable them the way you reccomend doing it here (through the layout editor). But we have many many layouts and its painful to remember to do this every time for each layout.

Is there a way to disable the automatic display of new fields in the index?
Or even better, is there a way to whitelist what fields can be displayed in the index view from the codebase rather than having to go to the layout?

1 Like