pennlabs / pcr

Penn Course Review website, developed by Penn Labs
https://penncoursereview.com
MIT License
13 stars 0 forks source link

fixed instructor mishap in display course view #280

Closed davish closed 4 years ago

davish commented 4 years ago

fixing the other view :)

Seems like this issue comes from values() implicitly flattening the many-to-many in the dict, but still grouping by all instructors on a section in the query. Referencing the one instructor on each review seems to have fixed the issue.