You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pagination is not working correctly. When interacting with the dropdown menu to change the number of records to display, the number of records does not update.
If I set the 'server page length' to the value of 200, the number of records updates correctly based on the selection in the dropdown menu. However, if I leave the value at 10, the information does not update and continues to show only those 10 records, even when I select a higher number or the option to show all records from the selector.
I appreciate your help.
Error.mp4
Screenshots/recordings
You can see in the images that it always shows me 10 records even if I have a larger number selected.
Superset version
4.1.1
Python version
3.10
Node version
Not applicable
Browser
Chrome
Additional context
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.
The text was updated successfully, but these errors were encountered:
Regarding your issue, it seems that the 'server page length' setting is crucial for the pagination to work correctly. When you set it to 200, the records update as expected, but with the default value of 10, it doesn't update beyond that. This behavior might be related to how the 'server page length' interacts with the pagination controls. The 'server page length' determines the number of rows displayed per page when server-side pagination is enabled, and setting it to 0 means no pagination will be applied [3][4].
Additionally, there are conditions in the code that could prevent the pagination dropdown menu from updating the number of displayed records, such as the limitingFactor property, limitReached flag, and defaultQueryLimit[5].
You might want to check if the 'server pagination' option is enabled and ensure that the 'server page length' is set appropriately to see if it resolves the issue.
Bug description
Pagination is not working correctly. When interacting with the dropdown menu to change the number of records to display, the number of records does not update.
If I set the 'server page length' to the value of 200, the number of records updates correctly based on the selection in the dropdown menu. However, if I leave the value at 10, the information does not update and continues to show only those 10 records, even when I select a higher number or the option to show all records from the selector.
I appreciate your help.
Error.mp4
Screenshots/recordings
You can see in the images that it always shows me 10 records even if I have a larger number selected.
Superset version
4.1.1
Python version
3.10
Node version
Not applicable
Browser
Chrome
Additional context
Checklist
The text was updated successfully, but these errors were encountered: