I am creating a website in Drupal 8 that shows info about team members of a business.
I've created two new content types: - Department - Team Member
I've created an entity reference field in team member that refers to the department he/she works for. The relation is many to many so I allowed multiple values.
Now I want to create a menu item for each department and when clicked a page shows with the team members working for that department.
I am totally new to Drupal so please explain steps in details :)
I've tried creating a view and add "Entity Reference" but I don't know how to proceed after that. I also tried to add a filter criteria but didn't work as well.