Skip to content

Commit a6a4060

Browse files
authored
Update CourseTable.php
1 parent 2ff666c commit a6a4060

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/CourseTable.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,12 @@ public static function getMap()
7070
array('=this.LINKED_LESSON_ID' => 'ref.ID'),
7171
array('join_type' => 'LEFT')
7272
),
73+
'SITE' => new Entity\ReferenceField(
74+
'SITE',
75+
'\Learning\CourseSiteTable',
76+
array('=this.ID' => 'ref.COURSE_ID'),
77+
array('join_type' => 'LEFT')
78+
),
7379
);
7480
}
7581
}

0 commit comments

Comments
 (0)