Filter availability by US_ACTIVE
Restricts the availability listing to projectmanagement.dbo.CP_USER rows where US_ACTIVE = 1, so deactivated users are not returned.
This commit is contained in:
1 parent
21683f5e8b
commit
788ec55bde
1 file changed
+1
@@ -31,6 +31,7 @@ internal class ZeitConsensRepository(IConfiguration config) : Repository(config)
|
||||
) buLast
|
||||
WHERE
|
||||
ma.MA_USER_AKTIV = 1
|
||||
AND us.US_ACTIVE = 1
|
||||
""";
|
||||
|
||||
public async Task<IEnumerable<Availability>> GetUsersAvailabilityAsync(DateTime from, DateTime to)
|
||||
|
||||
Reference in new issue
Block a user