Skip to content

Submission pagination backend fixed#2245

Open
IdirLISN wants to merge 6 commits intodevelopfrom
feature/pagination_for_submissions
Open

Submission pagination backend fixed#2245
IdirLISN wants to merge 6 commits intodevelopfrom
feature/pagination_for_submissions

Conversation

@IdirLISN
Copy link
Collaborator

@IdirLISN IdirLISN commented Mar 9, 2026

A brief description of the purpose of the changes contained in this PR.

Pagination display for submission in competition UI.
Using the existing file pagination.py inside of submissions viewset.

Dynamic pagination class added in pagination.py.
Get 50 objects by default.
Users can choose to get 50, 100, 500 or all objects.
"all objects" option is hard limited by max_page_size = 1000 per page.

Submission UI now displays 50 objects per page and a panel to enable the user to change this value.

Issues this PR resolves

A checklist for hand testing

  • Go to a competition with a lot of submissions and test the display of submissions inside of the competition page and inside of the organizer panel.

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

screenshot:
image

image

@IdirLISN IdirLISN marked this pull request as draft March 9, 2026 11:42
@IdirLISN IdirLISN requested a review from Didayolo March 9, 2026 11:42
@IdirLISN IdirLISN self-assigned this Mar 9, 2026
@IdirLISN IdirLISN marked this pull request as ready for review March 10, 2026 14:02
@Didayolo Didayolo self-assigned this Mar 10, 2026
@Didayolo
Copy link
Member

We need a third pagination size, something like 60 per page

@Didayolo Didayolo changed the title submission pagination banckend ok Submission pagination backend fixed Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No pagination in "Submissions" panel

2 participants