apache/superset

Table View error: getPaginationModel(): currentPage shouldn't be greater than totalPages

Closed

#31403 opened on Dec 11, 2024

View on GitHub
 (3 comments) (0 reactions) (0 assignees)TypeScript (72,837 stars) (17,291 forks)batch import
good first issueviz:charts:table

Description

Bug description

  1. On Mixed Chart click "View as Table"
  2. Paginate to the last page
  3. Input some text into search bar, not present in the table
  4. Get an error getPaginationModel(): currentPage shouldn't be greater than totalPages Seems like bug not relevant to chart, more likely React-specific

Screenshots/recordings

1

Superset version

4.1.1

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Contributor guide