Fix bug:
This commit is contained in:
parent
67ef6b9111
commit
071da74b3d
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from judge.jinja2.gravatar import gravatar
|
||||||
from judge.models import Comment, Contest, Organization, Problem, Profile
|
from judge.models import Comment, Contest, Organization, Problem, Profile
|
||||||
|
|
||||||
|
|
||||||
def _get_user_queryset(term, org_id):
|
def _get_user_queryset(term, org_id=None):
|
||||||
if org_id:
|
if org_id:
|
||||||
try:
|
try:
|
||||||
qs = Organization.objects.get(id=org_id).members.all()
|
qs = Organization.objects.get(id=org_id).members.all()
|
||||||
|
|
Loading…
Reference in a new issue