RamiNoodle733 opened a new pull request, #37733:
URL: https://github.com/apache/superset/pull/37733
## Problem
The DrillDetailTable has a fixed page size of 50 (PAGE_SIZE constant), but
the pageSizeOptions was not restricted, allowing users to select 5, 15, 25, 50,
100 from a dropdown. This caused confusion as selecting other values didn't
work properly since the backend always returns 50 rows per page.
## Solution
Added `pageSizeOptions={[PAGE_SIZE]}` to the Table component in
DrillDetailPane.tsx to restrict the dropdown to only show the valid option (50).
## Before
Users could select page sizes other than 50, but the table would still show
50 rows, causing a mismatch between the UI and actual data.
## After
The page size dropdown only shows 50 as an option, which matches the actual
behavior.
Fixes #36267
--
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]