
joining data from two models
Hi,
I've got two models: tasks and correspondence. They both have a subject and a date property.
I know how to show data from a models in an endpoint with a collection and Liquid.
But I want to show records from both models in a timeline in an endpoint, sorted by date.
Sow I have to combine the data in both collections somehow. Does anyone knows a way to achieve this?
Thanks in advance, Hans
Hi,
I've got two models: tasks and correspondence. They both have a subject and a date property.
I know how to show data from a models in an endpoint with a collection and Liquid.
But I want to show records from both models in a timeline in an endpoint, sorted by date.
Sow I have to combine the data in both collections somehow. Does anyone knows a way to achieve this?
Thanks in advance, Hans
Login to reply