Skip to content

Conversation

@raulrpearson
Copy link
Contributor

This PR is a quick fix for a bug I spotted just now in development. If you try to check the report for a finished event with no leaders, as the owner of that event, you currently raise an exception. As far as I can tell, this is because the query I wrote for Events.get_managed_event!/2 is producing an empty set when joining with activity leaders. So even though you're the owner of the event, no event is returned in that query. Doing a left join fixes this. Sorry for that!

@alxlion
Copy link
Contributor

alxlion commented Dec 4, 2025

I let you resolve the small conflict on this one before merging 😉

@raulrpearson raulrpearson force-pushed the fix-get-managed-event branch from f4553f1 to 53275ab Compare December 4, 2025 22:51
@raulrpearson
Copy link
Contributor Author

Done!

@raulrpearson raulrpearson force-pushed the fix-get-managed-event branch from 53275ab to 4c2331b Compare December 5, 2025 16:24
@alxlion alxlion merged commit c8d8719 into ClaperCo:dev Dec 6, 2025
1 check passed
@raulrpearson raulrpearson deleted the fix-get-managed-event branch December 6, 2025 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants