Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-117010

Documents are not shown when filtering in Content-elements api

    Details

      Description

      The filter param is not taking documents into account when filtering in content-elements API.

       

      Steps to reproduce

      1.- Upload a document to a site and associate "category1" with it

      2.- Create a web content and associate "category1" with it

      3.- Make a GET request to http://localhost:8080/o/headless-delivery/v1.0/sites/Guest/content-elements with filter=taxonomyCategoryIds/any(id:id eq {category1Id}) (you have to check the assigned id of the category and substitute it in the filter.

       

      Expected behavior

      • Two elements are returned (the document and the web content)

       

      Current behavior

      • Only the web content is returned

        Attachments

          Activity

            People

            Assignee:
            pablo.agulla Pablo Agulla
            Reporter:
            pablo.agulla Pablo Agulla
            Participants of an Issue:
            Recent user:
            Yunlin "Steven" Sun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 12 weeks, 2 days ago

                Packages

                Version Package
                7.1.10 DXP FP19
                7.1.10.5 SP5
                7.1.X
                7.2.10 DXP FP7
                7.2.X
                7.3.4 CE GA5
                7.3.10 DXP GA1
                Master