Pagination not reset on search causing incorrect "No Results" message

When using the indices explorer you can end up with a “No Results” message when there are results

Recreation Steps

  • Search with an empty query
  • Select page 100
  • Now search for a term that returns less than 100 pages

Observations

  • The “N hits matched in N ms” message in the search bar correctly shows there are results
  • “No Results” will shown instead of the results
  • A pagination bar shows up as normal
  • Selecting a valid page for the new search will cause the search results to show up.

My expectation was that a new search would cause the pagination to be reset

Hi there :wave:

Indeed this is not expected behaviour.
I’ve created an issue on our side and we’ll work on fixing that.

Thank you for taking the time to report it!

Vincent