Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opdatering til #963: Brug exists() i stedet for count() #966

Conversation

rasmusselsmark
Copy link
Contributor

Efter review fra @lakridserne#963 (vis checkmark på invitation, om person allerede er tilmeldt aktivitet), ændret count() > 0 til exists()

@what-the-diff
Copy link

what-the-diff bot commented Sep 24, 2023

PR Summary

  • Improvement to Participant Check in activityinvite_admin.py
    The method used to check if a person is participating in an activity has been improved. Before, we used to go through the entire list of activity participants to count them, but now we check for the existence of a person in the activity participants list, making the process quicker and more efficient.

@rasmusselsmark rasmusselsmark merged commit ed282da into master Sep 24, 2023
2 checks passed
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