DMOJ / online-judge

A modern open-source online judge and contest platform system.
https://dmoj.ca
GNU Affero General Public License v3.0
951 stars 364 forks source link

Fixed Organization Pagination Rank Reset On Each Page #2264

Open jazyz opened 1 year ago

jazyz commented 1 year ago

Closes #2224

Ninjaclasher commented 1 year ago

This solution will make us have the same issue as #1052 on the organization users list. We should probably just do it correctly instead of copying what is done for the users list.

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (ddc624b) 47.05% compared to head (386c26b) 47.05%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2264 +/- ## ======================================= Coverage 47.05% 47.05% ======================================= Files 249 249 Lines 13209 13209 ======================================= Hits 6215 6215 Misses 6994 6994 ``` | [Impacted Files](https://app.codecov.io/gh/DMOJ/online-judge/pull/2264?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DMOJ) | Coverage Δ | | |---|---|---| | [judge/views/organization.py](https://app.codecov.io/gh/DMOJ/online-judge/pull/2264?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DMOJ#diff-anVkZ2Uvdmlld3Mvb3JnYW5pemF0aW9uLnB5) | `39.43% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.