Skip to content

Commit

Permalink
maybe worke?
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Jan 6, 2024
1 parent af5450a commit 71c9ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/api/views/staff.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def staff(request, year=None):
year = request.GET.get("year")
return Response(
StaffSerializer(
qs.filter(years__contains=year), many=True
qs.filter(years__contains=[year]), many=True
).data
)
return Response(StaffSerializer(qs, many=True).data)

0 comments on commit 71c9ea4

Please sign in to comment.