Stumped. This should be Drupal 101, but the dots aren't connecting.
Scenario: from among many, I have two content types:
- employee
- department
Each content type displays on its own but we will also run a list of employee teasers as a list within a views block on the department pages. This is easy to create: I use views to render the list, i.e.,
- View uses filter criteria of "department" for a teaser list of employees.
Set the views block to display on the appropriate department node page on the blocks admin page and all is good. However, I have 7 department pages. Sure I could create the first view, clone that view per required filter type, but, better, is reusable code. Both content types have the same "department" field list (uses the core list module) where I've identified the department.
How can I use that "Department" list field to create the link that joins the employee list to the department when rendering the department page?