Steps to reproduce:
- pre-requisite : having a Nuxeo instance with enough data, at least 2 differents creators for documents to observe the problem. In my case, I was using https://nightly-2021.nuxeocloud.com/nuxeo/ui
- Navigate to the default search
- in the Authors suggestion, select 2 users with at least 1 created document
- the results and the filters are refreshed accordingly => ok
- in the Modification Date aggregate, check a box where there is 0 result (in my case, it was Last 24h)
- the results and the filters are refreshed accordingly
- observe that the Authors field still displays the previous number of results for each user, the same one as before the Modification Date value was checked
Expected behavior: the Authors field should be updated and it should display 0 in the parenthesis for each user.
By looking at the response of the corresponding request, we can see in the extendedBuckets part of the aggregation that it contains the correct docCount for each selected user, so it should be feasible to update the suggestions - see attached screenshot for reference