Skip to content

Add pagination to URL for submission/entity tables #1348

@matthew-white

Description

@matthew-white

Right now, when you filter the submission or entity table, the filter appears in the URL. That means that you can copy the URL and return to the table with the same filters applied. This issue is to add pagination to the URL:

  • As you move from one page of the table to another, the URL should update (e.g., .../submissions?page=2, ?page=3, etc.).
  • If you change the page size (e.g., from 250 to 500), the URL should update to reflect the change.

Adding pagination to the URL means that you'll be able to copy the URL to return to the same place in the table.

Questions

  • What if the page in the URL no longer exists? E.g., some submissions have been deleted.
  • What if the page size is invalid? E.g., someone copies the URL incorrectly and enters 50 instead of 500.

Metadata

Metadata

Assignees

Labels

frontendRequires a change to the UI
No fields configured for Feature.

Projects

Status
✅ done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions