I build my own plugin with octoberCMS Builder plugin. There are 2 different model classes
- category
- item
inside the model class "item" I have a relation to model class category so each item can be linked to a "category".
On my webpage, I would like to display model class category and inside all items from model class "item" that are linked to that category.
however, all items are displayed now instead of the ones linked to category. My thought was to use the == sign but that's not working so far. How can I solve this issue? Help would be highly appreciated!