Skip to content
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

[Lens] Table shows extra rows when embedded on a dashboard #147922

Closed
stratoula opened this issue Dec 21, 2022 · 1 comment · Fixed by #147925
Closed

[Lens] Table shows extra rows when embedded on a dashboard #147922

stratoula opened this issue Dec 21, 2022 · 1 comment · Fixed by #147925
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@stratoula
Copy link
Contributor

stratoula commented Dec 21, 2022

Kibana version:
main

Describe the bug:
This happens datatables that have the pagination on. If the table has the paginate setting on, you hit a no results state and then display results, extra rows appear. If you open on the editor the extra rows are gone.

The same bug exists on the security solution which causes their actions to fail.

dashboard

Steps to reproduce:

  1. Create a lens table like that

image

  1. Embed this on the dashboard
  2. Select a timeframe which results in no data
  3. Select a timeframe which results in < 10 rows data
  4. My embeddable has extra rows

image

Expected behavior:
I should only see the number of rows that represent my data rows.

@stratoula stratoula added bug Fixes for quality problems that affect the customer experience Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. labels Dec 21, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-visualizations @elastic/kibana-visualizations-external (Team:Visualizations)

@stratoula stratoula changed the title [Lens] Table embedable shows extra rows when embedded on a dashboard [Lens] Table shows extra rows when embedded on a dashboard Dec 21, 2022
@VladLasitsa VladLasitsa self-assigned this Dec 21, 2022
stratoula pushed a commit that referenced this issue Dec 22, 2022
## Summary

Fixes: #147922

previously we set `-1` as `pageIndex` if we have empty data, but in this
case it should be `0`.
simianhacker pushed a commit to simianhacker/kibana that referenced this issue Dec 22, 2022
…47925)

## Summary

Fixes: elastic#147922

previously we set `-1` as `pageIndex` if we have empty data, but in this
case it should be `0`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Lens impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants