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

Limit number of facilities a single user can be linked to. #7219

Closed
rithviknishad opened this issue Feb 15, 2024 · 2 comments · Fixed by #7257
Closed

Limit number of facilities a single user can be linked to. #7219

rithviknishad opened this issue Feb 15, 2024 · 2 comments · Fixed by #7257
Assignees

Comments

@rithviknishad
Copy link
Member

Describe the bug
Currently, the user in staging "devdistrictadmin" has ~1000 facilities linked to the user. This makes the query slow.

To Reproduce
Steps to reproduce the behavior:

  1. Go to users tab
  2. Open linked facilities of devdistrictadmin

Expected behavior
Limit how much facilities a user can be linked to.

Screenshots
image

@sainak sainak assigned sainak and unassigned sainak Feb 15, 2024
@aeswibon aeswibon self-assigned this Feb 20, 2024
@aeswibon
Copy link
Member

aeswibon commented Feb 20, 2024

I was wondering what would be the limit? Like 10 or 15.

@aeswibon
Copy link
Member

As discussed in EOD, would be adding pagination...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants