Bugfix: Presence lists only people employed today
Description
The presence page, its API and the assistant tool who_ listed everybody with an employee record, so people
who had left showed up as absent: in one company 13 of 32 people in a team list had an exit date in the past. A list of
people now shows by default the people employed on the day it asks about; for presence that is today, so someone who
leaves today is still listed on their last day. The check is one question of the employee directory
(Employee) that other lists can ask the same way.
Impact
GET / no longer returns people who have left, and neither do the dashboard widgets that read the same
audience.