Uploaded image for project: 'PUBLIC - Liferay Commerce'
  1. PUBLIC - Liferay Commerce
  2. COMMERCE-6503

[Commerce 3.0] Specification Facet reports wrong initial results even when more than one filter is selected

Details

    Description

      Issue:
      [Commerce 3.0] Specification Facet reports wrong initial results even when more than one filter is selected

      Steps to Reproduce
      1. Create a new Minium site called "Sapphire" and create a new Commerce account (reindex if necessary)
      2. Go to the Sapphire site
      3. Check the catalog's left hand side for the Specification Facet
      4. Under Warranty, notice that under the Warranty section Limited Lifetime shows (10) and under the Material section Steel shows (18) results
      5. Click on Limited Lifetime
      6. Assert that 10 results are displayed and the number in the Specification Facet shows (10), Note: All of the values in the Specification Facet are still showing values of their original value
      7. Click on Steel (while Limited Lifetime is also selected)

      Actual Result
      Clicking on Steel shows 3 results, but the Specification Facet shows that there are still 18 hits for Steel, and 10 hits for Limited Lifetime

      • Limited Lifetime (10)
      • Steel (18)

      Expected Result
      The Specification Facet should be updated based on the actual amount of hits that are present for each option when each facet is selected

      • Limited Lifetime (3)
      • Steel (3)

      Reproduced in

      • Liferay DXP 7.3 GA1 + hotfix-1009-7310
      • 7.3.X-private Commit: 56b0e1697ce17ed4e399bbf2915b1b48d4a5b38c
      • Master-Private Commit: 9f375528c91b2c745e13b92a25b67de3595523a3

      Attachments

        Activity

          People

            lorenzo.lapescara Lorenzo La Pescara
            piernicolo.pinna Pier Nicolò Pinna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Packages

                Version Package
                7.4 DXP U2
                7.1.X
                7.2.X
                7.3.X
                2.2.1