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

Order by web content structure field doesn't work in Asset Publisher

    Details

      Description

      Step to reproduce:

      1. Add a web content structure with a Numeric field
      2. Add the first web content based on new structure
      3. Type Web Content Title 1 as title and Type 5 in Numeric field
      4. Add the second web content based on new structure
      5. Type Web Content Title 2 as title and Type 3 in Numeric field
      6. Add the third web content based on new structure
      7. Type Web Content Title 3 as title and Type 8 in Numeric field
      8. Add a widget page
      9. Add an Asset Pubilsher to page
      10. Assert the order of web contents is Web Content Title 3, Web Content Title 2, Web Content Title 1
      11. Click the ellipsis button on the topper of Asset Publisher > Configuration
      12. Expand Source section
      13. Select Web Content Article in Asset Type
      14. Select new structure in Web Content Article Structures
      15. Expand Ordering section
      16. Select the Numeric field in Order by
      17. Assert order arrow is ascending
      18. Save
      19. Close modal

      Expected Results:
      The order of web contents is Web Content Title 2, Web Content Title 1, Web Content Title 3

      Actual Results:
      The order of web contents is Web Content Title 1, Web Content Title 2, Web Content Title 3

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7. Portal master GIT ID: b265d851edce5207d5da8198f1f01d96554e8499.

        Attachments

          Activity

            People

            Assignee:
            yang.cao Yang Cao
            Reporter:
            yang.cao Yang Cao
            Participants of an Issue:
            Recent user:
            Sophia Zhang
            Engineering Assignee:
            Rodrigo Paulino
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 27 weeks, 3 days ago

                Packages

                Version Package
                7.2.10 DXP FP12
                7.2.X
                7.3.10 DXP FP2
                7.3.X
                7.4.13 DXP GA1
                Master