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

Filtering products by categories doesn't work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 7.3
    • Fix Version/s: 7.3, Master
    • Component/s: None
    • Labels:
    • Sprint:
      FlexSprint13

      Description

      Filtering products by categories is at the moment not possibile due to this error:

      When I fetch the categories using the endpoint

      /o/headless-admin-taxonomy/v1.0/taxonomy-categories/0/taxonomy-categories

      I get this set of data

      So this will be the generated oData filter: 

      (categoryIds/any(x:(x+eq+'39743')))
      

      ...and it will not work because the products api are expecting a number, not a string.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kristin.onias Kristin Onias
              Reporter:
              fabio.mastrorilli Fabio Mastrorilli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.3
                  Master