Link to related model in index #1142
-
Hi TwillSeekers, Is it possible to link to a related model in the index view? for example if you have a list of customers and each customer can have one or more (one to many relation) addresses is it possible to link to the related customer_addresses model and have it pre-filtered to just that customers addresses. customers: addresses: if this is not possible how would you tackle it? Many thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @futurewebsites, yes! That would be using a submodule, using dot notation. In your case |
Beta Was this translation helpful? Give feedback.
Hi @futurewebsites, yes! That would be using a submodule, using dot notation. In your case
customers.addresses
. See #508.