You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m using friendsofcake/crud I have a pivot table EnquiryContacts which joins Enquiries, Roles and People tables. The EnquiriesTable has a belongsToMany association:
I’m using
friendsofcake/crud
I have a pivot tableEnquiryContacts
which joinsEnquiries
,Roles
andPeople
tables. TheEnquiriesTable
has abelongsToMany
association:And the
PeopleTable
has the reverse association:But results returned by
IndexAction
will include records with anyrole_id
, instead of just those within the conditions.Is this expected behaviour or a bug? If expected, how should I go about ensuring a response that takes the conditions of the association into account?
The text was updated successfully, but these errors were encountered: