In my projects section, each project entry has a Entry field in a Matrix. The Entry field references a tool. On the tool entry page I am trying to display all the projects that use that tool in their Matrix entry field. How do I do that? Currently I use this code but it doesn't display anything. I'm guessing I need to reference the Matrix handle and Entry field handle somehow but I haven't seen it done yet.
{% set relatedProjects = craft.entries.section('projects').relatedTo(entry) %}
{% for project in relatedProjects %}
{{ project.title }}
{% endfor %}
projectin
is just a typo here?