You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
There is an issue when multiple user in house in query getUserAtHomeAndNotSeenSince in api/core/house/house.queries
I think you should add line 56 GROUP BY user.id because with multiple users, the MAX(event.datetime) takes the max of any users, so when one user is at house and the other(s) have left, Gladys consider nobody's left home because the max return the user still in house.
The text was updated successfully, but these errors were encountered:
Hello,
There is an issue when multiple user in house in query getUserAtHomeAndNotSeenSince in api/core/house/house.queries
I think you should add line 56 GROUP BY user.id because with multiple users, the MAX(event.datetime) takes the max of any users, so when one user is at house and the other(s) have left, Gladys consider nobody's left home because the max return the user still in house.
The text was updated successfully, but these errors were encountered: