sio2project / oioioi

GNU General Public License v3.0
160 stars 70 forks source link

Fix grouping of tasks in task archive #259

Closed MasloMaslane closed 10 months ago

MasloMaslane commented 10 months ago

Previously, when get_prefetched_value() would return FakeOriginInfoValue the tasks wouldn't group properly in task archive because of https://github.com/sio2project/oioioi/blob/8f59544087f0652d4c85d18afc4d07d6aa148971/oioioi/problems/views.py#L741-L743 because FakeOriginInfoValue was a local class and it wasn't grouped together by groupby: image

Now that FakeOriginInfoValue is a global class, groupby groups tasks properly: image