User group showing wrong number of users in it
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
If I go to Usermanagement and look at groups, eacht group has a number next to the group name. that number should indicate the users in that group. unfortunately that number is wrong. If i count the users in that group manually I get to 14. the number shows 19.
As I do only have 14 user accounts on that instance in total, that number 19 must be wrong. - I do have one deactivated user, but this still does not explain the delta of 5.
Assumption: deleted users are somehow still calculated as group member.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Usermanagement groups view and reproduce the mismatch by comparing the displayed count with a manual count of users, including the deactivated and deleted-user cases described here. Trace how the group total is calculated and confirm that it counts only users actually present in the group; done means the displayed number matches the real membership count.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100