Skip to content

Commit

Permalink
fix(backend): ambiguous project_id reference in project summaries .all()
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Dec 9, 2024
1 parent a2e3db0 commit 3205906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/app/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1198,7 +1198,7 @@ async def all(
LEFT JOIN
tasks t ON p.id = t.project_id
LEFT JOIN
task_events ON p.id = project_id
task_events ON p.id = task_events.project_id
{'WHERE ' + ' AND '.join(filters) if filters else ''}
GROUP BY
p.id, project_org.id
Expand Down

0 comments on commit 3205906

Please sign in to comment.