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

[BUG] Changing from a search with few results to a search with more results keeps the number of rows from the previous search #5659

Closed
acb opened this issue Jan 5, 2024 · 1 comment
Assignees
Labels
bug Something isn't working discover for discover reinvent duplicate This issue or pull request already exists v2.12.0

Comments

@acb
Copy link

acb commented Jan 5, 2024

When you make subsequent searches it seems that the results table remembers the most restrictive number of rows from your searches and doesn't update. For example, I made a search that returned 6 results, then loosened my search query to one that returned 81 results. However, the table that shows the results was still limited to 6 rows. The correct number of results shows up in the bar graph at the top of the results, and refreshing the page loads the full results correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Make a search with a small number of results
  2. Change search to one with more results than previous
  3. Results table only shows the number of rows from search 1, truncating the results from search 2

Expected behavior
The results table should show the full results from all searches without refreshing the page.

OpenSearch Version
AWS hosted version, OpenSearch_2_11_R20231113-P2

Dashboards Version
2.11.0

Plugins

None.

Screenshots
Search with 6 results
6-hits
Search with 81 results, only 6 show in the table
81-hits

Host/Environment (please complete the following information):
Server host is AWS's hosted OpenSearch
Browser info:

  • OS: Ubuntu 22.04.1 LTS
  • Browser: Vivaldi 6.5.3206.39 (Chromium browser, Chromium version 120.0.6099.121)
@acb acb added bug Something isn't working untriaged labels Jan 5, 2024
@ananzh ananzh self-assigned this Jan 18, 2024
@ananzh ananzh added discover for discover reinvent v2.12.0 and removed untriaged labels Jan 18, 2024
@ananzh
Copy link
Member

ananzh commented Feb 7, 2024

Hi @acb we fixed this table size adjust issue in 2.12 and main. For example, if I change query from a name to EUR, you could see table is adjusted. You could check main or our upcoming 2.12 release:

change-query.mov

Do you think we could close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discover for discover reinvent duplicate This issue or pull request already exists v2.12.0
Projects
None yet
Development

No branches or pull requests

3 participants