Skip to content
Snippets Groups Projects
Commit abc93efd authored by Jared Hancock's avatar Jared Hancock
Browse files

dept: Fix ::getMembersForAlerts() for primary depts

parent ab74bd75
No related branches found
No related tags found
No related merge requests found
......@@ -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'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment