Skip to content

Commit

Permalink
Merge pull request #5527 from mrpau/hotfix/5523-simplified-login-does…
Browse files Browse the repository at this point in the history
…-not-work-if-more-than-1000-users

Set max_limit to 0 in order to fetch all users.
  • Loading branch information
benjaoming committed Oct 30, 2017
2 parents f862026 + 4908f62 commit 7b2b4a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/installguide/release_notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ to read the release notes.
0.17.4 (unreleased)
-------------------

Bug fixes
^^^^^^^^^

* Simplified login is now working when there are 1,000 or more users registered in a facility. :url-issue:`5523`

Developers
^^^^^^^^^^

Expand Down
1 change: 1 addition & 0 deletions kalite/facility/api_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class Meta:
'facility': ALL_WITH_RELATIONS,
'is_teacher': ['exact']
}
max_limit = 0
exclude = ["password"]

def prepend_urls(self):
Expand Down

0 comments on commit 7b2b4a2

Please sign in to comment.