diff --git a/include/class.staff.php b/include/class.staff.php index a3b2145934123c2f18847fcd3984bf132be314af..539160259bf730795b28ddc59de4efee0632efcb 100644 --- a/include/class.staff.php +++ b/include/class.staff.php @@ -1082,6 +1082,10 @@ class StaffDeptAccess extends VerySimpleModel { 'joins' => array( 'dept' => array( 'constraint' => array('dept_id' => 'Dept.id'), + // FIXME: The ORM needs a way to support + // staff__dept_access__dept performing a LEFT join b/c + // staff__dept_access is LEFT + 'null' => true, ), 'staff' => array( 'constraint' => array('staff_id' => 'Staff.staff_id'),