Skip to content

Commit

Permalink
Merge pull request #7200 from ehuelsmann/fix/master/managers-join
Browse files Browse the repository at this point in the history
Fix join in all_managers
  • Loading branch information
ehuelsmann committed Feb 10, 2023
2 parents 914754b + 2c937f8 commit c52da34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/modules/Employee.sql
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ $$
JOIN entity_employee ee on (ee.entity_id = p.entity_id)
JOIN entity e ON (p.entity_id = e.id)
LEFT JOIN salutation s on (p.salutation_id = s.id)
LEFT JOIN person mp ON ee.manager_id = p.entity_id
LEFT JOIN person mp ON ee.manager_id = mp.entity_id
WHERE ee.is_manager
ORDER BY ee.employeenumber;
$$ LANGUAGE SQL;
Expand Down

0 comments on commit c52da34

Please sign in to comment.