Skip to content

Commit

Permalink
Show only the test image sets belonging to the team
Browse files Browse the repository at this point in the history
  • Loading branch information
timonegk committed Feb 19, 2019
1 parent e78c2bf commit a4009e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagetagger/imagetagger/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def view_team(request, team_id):
imagesets = imagesets.filter(public=True)

export_format_forms = (ExportFormatEditForm(instance=format_instance) for format_instance in export_formats)
test_imagesets = ImageSet.objects.filter(set_tags__name='test').order_by('-public', 'name')
test_imagesets = imagesets.filter(set_tags__name='test').order_by('-public', 'name')

return render(request, 'users/view_team.html', {
'team': team,
Expand Down

0 comments on commit a4009e7

Please sign in to comment.