F
Filament3mo ago
gvan

repeated pivot table records displaying incorrectly in relationmanager table

I have a many to many relationship between Subject and Event models with an event_subject pivot table that has an additional 'iteration' column. A Subject-Event combination can be repeated with the iteration column identifying each instance. There is an events relationmanager table on the Subject View page which is supposed to show each linked event. However, while the table query returns the correct data, including the pivot table's iteration column, the table displays the second iteration of a particular event using the identical data as for the first iteration. In other words, I get two records for a particular duplicated event, but both display iteration number 1, even though the second record has iteration 2 in the database. Is this a Filament bug?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?