Discover fetches date histogram even when no documents match the query #198456
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:UnifiedHistogram
Issues related to the Unified Histogram plugin
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:needs-research
This issue requires some research before it can be worked on or estimated
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)
Describe the bug:
The unified histogram fetches the date histogram even when there are no results.
Steps to reproduce:
Ironically, if you refresh the entire browser, only one request is made (for the documents). But each time you click the "refresh" button, you get two additional queries.
Expected behavior:
Only one query for the documents.
Screenshots (if relevant):
Screen.Recording.2024-10-30.at.4.34.44.PM.mov
Any additional context:
Probably related to #165192.
The text was updated successfully, but these errors were encountered: