So, I have course pages and faculty pages. When I create a new course, I can associate it with 1 or more faculty members by adding them to the course_instructors Page field. When I visit the faculty member's page, I want to view the courses they teach.
I'm trying to do this with a selector:
// on the faculty member's page $spring_courses = $pages->find('parent=/courses/spring/, course_instructors=$page');
$spring_courses is empty. Just to reiterate, course_instructors is a page field that can have multiple pages in it (multiple instructors).
I'm basing my method on this post.
Thanks for any suggestions!