Our new Community environment is going to be launched soon!
This means that you will be redirected to the new environment automatically, where you can sign-in, look up - and post topics again. Please note that not all topics will be transferred, so it might occur that you can’t find the topic you were looking for.
I've got a Topic and a Tag model which have a 'has and belongs to many' relation. Now I want to get a collection of Topics, which have a relation with (every item in) a Tag-collection.
I've tried the following:
Tags_col is a collection of Tags on which I want to filter.
So I want a collection of all topics which have relations with all the tags in var:tags_col.
The collection shown in the picture above, never holds any data at all, so that's not working
Should I solve this otherwise, or should Betty be able to do it like this?
Hi,
I've got a Topic and a Tag model which have a 'has and belongs to many' relation. Now I want to get a collection of Topics, which have a relation with (every item in) a Tag-collection.
I've tried the following:
Tags_col is a collection of Tags on which I want to filter.
So I want a collection of all topics which have relations with all the tags in var:tags_col.
The collection shown in the picture above, never holds any data at all, so that's not working
Should I solve this otherwise, or should Betty be able to do it like this?
Login to reply