It seems simple but I haven't found an answer....
I have a custom post type 'team' with a taxonomy 'department'
I have an archive page archive-team.php that shows all team posts.
When I need to show a department I want to use the same template, just with the taxonomy as a filter.
But it doesn't*. I could set up a page taxonomy-department.php identical to archive-team.php but this is wasteful and prone to error.
I've looked through the docs and I can't see where you can force the archive type for a taxonomy to go to the archive for that post type.
How?
If it's useful I'll post the functions that created the post type and taxonomy.