Do you have any recommendation or idea how could I create a list or a table in a Backend form that shows records that related to the given model via hasManyThrough relation?
Is it possible to do it somehow?
As I see relation controller can do it only in case of one-to-one and many-to-many relations but not on hasManyThrough relation.
Is there any other way to do it?
Thanks in advance for your help!
hasManyThrough support will be added in v2.1.5. It will be released in a couple of days.
Could someone please point me to where I can find step by step tutorial on implementing hasMany relationship?. I want to extend user plugin and add multiple companies they want to follow. Thanks in advance.
Hello, i have a specific case and dunno how to implement it properly;
let's say, we have Models: Order, Product and Producer.
Producer can have many Products (relation manyToMany),
Order can have many Products (relation manyToMany),
Product belongs to one Producer (relation oneToMany),
Product belongs to many Orders (relation manyToMany)
How to get list of producers in a singular Order model, trough order products? I need to list all producers of order, and all products for every producer in my controller...
1-4 of 4