Skip to content

Commit

Permalink
Merge pull request #314 from ubccr/fix-user-search-313
Browse files Browse the repository at this point in the history
Fix missing local variable assignment
  • Loading branch information
aebruno committed Jul 20, 2021
2 parents 0ade7eb + b1bf1c3 commit a01dd6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coldfront/core/user/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def search_a_user(self, user_search_string=None, search_by='all_fields'):
elif user_search_string and search_by == 'username_only':
entries = User.objects.filter(username=user_search_string, is_active=True)
else:
User.objects.all()[:size_limit]
entries = User.objects.all()[:size_limit]

users = []
for idx, user in enumerate(entries, 1):
Expand Down

0 comments on commit a01dd6e

Please sign in to comment.