Skip to content

Case table pagination has issues #90

Open
@nekogeko

Description

@nekogeko

Describe the bug

  • As one advances through the pages, the number displayed in the control does not advance, it remains at 1: "< 1 ... >".
  • As one advances through the pages, there continues to be an ellipsis after the page number, "< # ... >", to indicate there is a subsequent page but there is never one before the number, "< ... # >" or "< ... # ... >" to indicate there is a preceding page.
  • On the last of multiple pages, the control shows "< 1 >" as if the first page were being displayed and as if there were one and only one page.
  • One can only navigate forward through the pages, the back arrow is never activated.
  • Once one leaves page 1, the settings gear is deactivated and cannot be used.
  • If pagination is set to anything other than the default value of 20 rows per page in standard view without striped rows or wrapped lines, creating a case erases the settings.
  • Creating a case returns to the first results page instead of either returning to the page being viewed when the Create Case button was clicked or instead of opening a page with the newly create case displayed in the results.

To Reproduce
Create enough cases to require the case data to be paginated

Expected behavior

Pagination should work as expected, displaying the current page number, allow user to go back to the previous page, not break the settings gear on pages other than page 1, etc ...

Please complete the following information about the solution:

  • [1.1.7] Version: [e.g. v1.0.0]
  • [us-east-1] Region: [e.g. us-east-1]
  • [no] Was the solution modified from the version published on this repository?
  • If the answer to the previous question was yes, are the changes available on GitHub?
  • [yes] Have you checked your service quotas for the sevices this solution uses?
  • [no] Were there any errors in the CloudWatch Logs?

Screenshots
If applicable, add screenshots to help explain your problem (please DO NOT include sensitive information).

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions