durban77 opened a new issue, #36267:
URL: https://github.com/apache/superset/issues/36267
### Bug description
On the Drill to details table of a chart, when you set the pageSize to lower
than 50, you can overread the results by jumping to the last page. Also setting
the pageSize to 100 only shows 50 rows.
The cause is that the pageSize is set to a constant value of 50, but the
pageSizeOptions inherit a [5,15,25,50,100] valueset and the UI shows the
pageSize as a user changeable value.
One possible solution is to set the pageSizeOptions to ['50'] because it is
the only valid option right now. This will cause the pageSize selector to have
only one value.
DrillDetailPane.tsx
defaultPageSize={PAGE_SIZE}
++ pageSizeOptions={['50']}
I'm happy to make the adjustment, but please someone approve this!
### Screenshots/recordings
<img width="866" height="706" alt="Image"
src="https://github.com/user-attachments/assets/ef279900-e1a8-48f3-8c91-3c636ff0ea30"
/>
### Superset version
master / latest-dev
### Python version
I don't know
### Node version
I don't know
### Browser
Not applicable
### Additional context
_No response_
### Checklist
- [x] I have searched Superset docs and Slack and didn't find a solution to
my problem.
- [x] I have searched the GitHub issue tracker and didn't find a similar bug
report.
- [x] 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.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]