Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6561 AO Search Pagination and Page Offset #6590

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

rfultz
Copy link
Contributor

@rfultz rfultz commented Dec 11, 2024

Summary

Fixing the pagination buttons for AOs and resetting the offset when filters change.

Required reviewers

  • 1 Front-end and/or UX?

Impacted areas of the application

The AO search template, its pagination and its filters controls (all of them independent from the other legal search tools from datatables and those filters)

Screenshots

image

Related PRs

None

How to test

  • Pull the branch
  • npm run build
  • manage.py runserver
  • Pagination - first & current page buttons (sample url)
    • Should start on page 1
    • Should show the page 1 button (as opposed to being absent)
    • Should not offer a page 3
    • Clicking page 2 should go to page 2
  • Pagination - end (sample url)
    • Shouldn't offer more pages than exist
  • Resetting to offset 0 (sample url)
    • Should start on page 2
    • Clicking the x to remove the 'testing' tag at the top
    • Results should refresh and the
    • pagination should revert to page 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 👀 Ready
Development

Successfully merging this pull request may close these issues.

AO pagination bug
1 participant