Sep 18, 2020
0
Level 3
Nested relationship searchable
Hey guys, I have a quick question. I have 4 models: Member, Player/Coach and TeamRoster. So TeamRoster has a morph relationship with Player and Coach. Player and Coach have a 1 to 1 with Member.
From the page to add a new TeamRoster resource, I added a MorphTo with searchable. But I can only search using the id, is it possible to search by the member.full_name?
Please or to participate in this conversation.