Include zero-hour users in Time Analysis table
Some checks failed
Lock Threads / Lock inactive issues (push) Has been cancelled
Frontend / Frontend verification (push) Has been cancelled
Lint PHP / Linting (8.2) (push) Has been cancelled
Check .lock files / Verify lock file integrity (push) Has been cancelled
Release Drafter / Verify repository (push) Has been cancelled
Tests / Integration (8.2) (push) Has been cancelled
Tests / Integration (8.3) (push) Has been cancelled
Tests / Integration (8.4) (push) Has been cancelled
Tests / Integration (8.5) (push) Has been cancelled
Actions Security Analysis / Scan workflows (push) Has been cancelled
Release Drafter / Draft next release (push) Has been cancelled
Renovate / renovate (push) Has been cancelled

- Remove HAVING total_hours > 0 filter from SQL
- Table always renders even when all users have 0 hours
- Matches old Kimai 1 behavior
This commit is contained in:
root
2026-06-18 23:14:31 +00:00
parent 3cd198c12c
commit 86f3e3c9f3
2 changed files with 0 additions and 5 deletions

View File

@@ -82,7 +82,6 @@ final class TeamSummaryController extends AbstractController
LEFT JOIN kimai2_projects p ON ts.project_id = p.id
WHERE ut.team_id = :teamId AND u.enabled = 1
GROUP BY u.id, u.username, u.alias
HAVING total_hours > 0
ORDER BY u.alias";
return $this->connection->executeQuery($sql, [