Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

theTechnician's avatar

Edit index view when showing belongsToMany

I have two tables joined with a pivot table to create the belongsToMany.

Table 1 being "bundles" and table 2 being "images". The bundles table lists images fine, but I only want to show certain fields from the images table, but I don't want to change the index view of the images table.

Is this possible?

0 likes
0 replies

Please or to participate in this conversation.