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

Asset publisher cannot order by a date field of a web content based on a structure

    Details

      Description

      Steps to reproduce

      1. create a web content structure S1 with a date field named D1
      2. create a web content template T1 for structure S1, which renders the value of its date field D1 (just click on the date field on the left panel when editing the template)
      3. create some web contents based on structure S1 and template T1, choosing distinct random names and distinct random dates for the value of field D1
      4. add an Asset Publisher to the home page
      5. configure that Asset Publisher portlet with Asset Types="Web Content Article" and Web Content Article Subtype="S1" and Order by="D1","Ascending".

      Expected behavior
      Asset Publisher will show the articles sorted by the value of D1, showing the articles with the earliest date first.

      Current beahvior
      Asset publisher will not be able to sort the articles by the value of D1

        Attachments

        1. fixed.png
          fixed.png
          19 kB
        2. patch.diff
          1 kB
        3. reproduced.png
          reproduced.png
          19 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  2 years, 15 weeks, 5 days ago

                  Packages

                  Version Package
                  6.2.X EE