Closed MasloMaslane closed 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:
get_prefetched_value()
FakeOriginInfoValue
groupby
Now that FakeOriginInfoValue is a global class, groupby groups tasks properly:
Previously, when![image](https://github.com/sio2project/oioioi/assets/22548407/3a3abe0c-b723-4588-8316-cac72e11d839)
get_prefetched_value()
would returnFakeOriginInfoValue
the tasks wouldn't group properly in task archive because of https://github.com/sio2project/oioioi/blob/8f59544087f0652d4c85d18afc4d07d6aa148971/oioioi/problems/views.py#L741-L743 becauseFakeOriginInfoValue
was a local class and it wasn't grouped together bygroupby
:Now that![image](https://github.com/sio2project/oioioi/assets/22548407/6bd38058-907d-4e43-b2bc-ec01e1a01094)
FakeOriginInfoValue
is a global class,groupby
groups tasks properly: