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

fix: reports only show actual participants of events #1723

Merged
merged 4 commits into from
Feb 16, 2023

Conversation

TheSlimvReal
Copy link
Collaborator

@TheSlimvReal TheSlimvReal commented Feb 14, 2023

In our logic to load notes, we currently always also update the participants list with new people that joined the group. This is useful in the roll call setup where you might want to also record their attendance stats. In other places where we only report the attendance without the option to modify it, this is not very useful as it will just add empty information (e.g. reports, dashboard components). This functionality has now been split up into two functions, one just loading the notes and one where the new participants are also added.

Another problem that I discovered is that the active participants are added based on the active status of today, not for the actual day where e.g. the roll call is conducted. This means also participants that have a start date of today would then be included when doing a roll call yesterday. This has also been fixed.

Visible/Frontend Changes

  • [x]
  • [ ]

Architectural/Backend Changes

  • [x]
  • [ ]

@github-actions
Copy link
Contributor

Deployed to https://pr-1723.aam-digital.net/

@TheSlimvReal TheSlimvReal added this pull request to the merge queue Feb 15, 2023
@TheSlimvReal TheSlimvReal removed this pull request from the merge queue due to a manual request Feb 15, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@TheSlimvReal TheSlimvReal merged commit 820399a into master Feb 16, 2023
@TheSlimvReal TheSlimvReal deleted the event_notes_fix branch February 16, 2023 09:25
@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.18.1-master.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@aam-digital-ci
Copy link
Collaborator

🎉 This PR is included in version 3.18.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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.

3 participants