-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering from second page of lens and agg based table breaks the table viz. #139126
Comments
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
Documenting some initial investigation: OverviewThe gist of the problem is that the filtering cell actions are being rendered with an updated (single row because of the filtering) data table, but an outdated Deep diveThe code is breaking here because it gets run when kibana/x-pack/plugins/lens/public/visualizations/datatable/components/columns.tsx Line 66 in 925b1a7
This statement runs many times (thanks React), but when the filter event occurs on the first page, the statement only runs BEFORE kibana/x-pack/plugins/lens/public/visualizations/datatable/components/columns.tsx Line 62 in 925b1a7
However, when the filter event originates on the second page, |
This also affects 8.3.3 (and perhaps earlier versions?). Will this be back-ported? I only see the fix has been applied to 8.4.0 and 8.5.0. |
@MakoWish thanks for raising the question. Pagination was merged for Lens in 8.1.0 (#118557). I've verified that this bug was present from the get-go. For aggs-based tables, I can see the bug in 8.1.0, but not before then (checked 8.0.0 and 7.17.0).
|
Actually, @timductive informs me that it is unlikely that a patch to 8.3 will be released, let alone 8.1. Because of this, I'll backport to 8.3 to be safe, but will leave 8.1 alone. |
Kibana version: 8.4.0 BC4
Elasticsearch version: 8.4.0 BC4
Server OS version: darwin_x86_64
Browser version: chrome latest
Browser OS version: OS X
Original install method (e.g. download page, yum, from source, etc.): from staging
Describe the bug: Filtering from second page of lens table breaks the table viz. But filtering still works on the whole dashboard.
Reported here - https://discuss.elastic.co/t/filtering-directly-from-data-table-kibana-dashboard/312075
Happens for Lens and Agg based table in the same way
filter_pagination.mp4
console error:
The text was updated successfully, but these errors were encountered: