Vi-Ku opened a new pull request, #38945:
URL: https://github.com/apache/superset/pull/38945

   ## Summary
   
   Fixes #36267
   
   The DrillDetailPane Table component uses `defaultPageSize={PAGE_SIZE}` 
(where `PAGE_SIZE = 50`) but does not pass `pageSizeOptions`, causing the Table 
to display the default options (`[5, 15, 25, 50, 100]`). Since the server-side 
pagination always fetches exactly 50 rows per page, these other page size 
options are misleading and break the pagination display.
   
   ## Fix
   
   Pass `pageSizeOptions={[\`${PAGE_SIZE}\`]}` to the Table component so the 
page size selector only shows 50 — matching the actual server-side page size.
   
   ## Testing
   
   - The only change is adding a single prop to `<Table>`. The existing 
`DrillDetailPane.test.tsx` test suite does not test page size options, and the 
fix is a pure prop passthrough.


-- 
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]

Reply via email to