Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-869

Fix aggregate selection not updated after selecting another filter

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.x
    • Component/s: UI

      Description

      Steps to reproduce:

      1. Navigate to the default search
      2. in the Authors suggestion, select 2 users with at least 1 created document
      3. the results and the filters are refreshed accordingly => ok
      4. in the Modification Date aggregate, check a box where there is 0 result (in my case, it was Last 24h)
      5. the results and the filters are refreshed accordingly
      6. 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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tmartins Thierry Martins
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: