GitHub user dosubot[bot] added a comment to the discussion: Table chart with server-side pagination does not search across all data pages
<!-- Greeting --> Hello @ryepezb1! I'm [Dosu](https://dosu.dev), your friendly bot here to help you solve bugs, answer questions, and become a contributor while we wait for a human maintainer. Let’s tackle those issues together! 🚀 <!-- Answer --> The current behavior of the search functionality in the table chart component with server-side pagination is designed to filter only the results visible on the current page. This is because the search functionality updates the query object with `row_offset` set to 0 when filters change, ensuring pagination resets to the first page. The search is integrated with server-side pagination by adjusting properties like `row_limit` and `row_offset` based on the current page and page size <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-table/src/buildQuery.ts)</sup>. To achieve the expected behavior of searching across the entire dataset, you would need to modify the implementation to fetch and filter data from all pages on the server side, rather than just the current page. This would involve changes to how the query is constructed and how data is fetched from the backend. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d2be2d9c-0501-4791-b5e8-f7baae9b4cc4?feedback_type=other)</sup> GitHub link: https://github.com/apache/superset/discussions/34211#discussioncomment-13795580 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
