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

Header Count only works for users with firstname + lastname #328

Open
joseph-mccombs opened this issue Apr 1, 2021 · 0 comments
Open

Header Count only works for users with firstname + lastname #328

joseph-mccombs opened this issue Apr 1, 2021 · 0 comments

Comments

@joseph-mccombs
Copy link
Contributor

The count for the header drop down only correctly counts the number of surveys for users that have a firstname and lastname attached to their user object. The countService parse cloud function relies on these to query the surveyingUser field in the SurveyData which is populated with firstname + lastname. Legacy Users do not always have a firstname and lastname, so their counts will not be accurate when viewing the header count. We need to attach the user object to SurveyData to ensure we get accurate counts for all users.

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

No branches or pull requests

1 participant