Skip to content

Commit

Permalink
Fix PCR registration metrics not showing up for non-primary xlisted c…
Browse files Browse the repository at this point in the history
…ourses
  • Loading branch information
mureytasroc committed Oct 13, 2023
1 parent 4b2c6fd commit 789b722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/review/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def course_plots(request, course_code):
"""
try:
course = (
Course.objects.filter(course_filters_pcr, full_code=course_code)
Course.objects.filter(course_filters_pcr_allow_xlist, full_code=course_code)
.order_by("-semester")[:1]
.select_related("topic", "topic__most_recent")
.get()
Expand Down

0 comments on commit 789b722

Please sign in to comment.