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

Message Boards portlet is sorting threads oldest to newest instead of newest to oldest

Details

    Description

      Description:
      Message Boards portlet in 7.0 DE is sorting the threads from oldest to newest, and there is no way to set the thread ordering. This is strange behavior because 6.1.30 and 6.2 sorted by newest to oldest, which is what is expected in any Message Board or forum application.

      Steps to reproduce:
      1. Start up 7.0 DE + Fixpack DE-1
      2. Sign in as [email protected]
      3. Add a Message Boards portlet to the main page
      4. Create a new thread "A", then click back, and go back to the Message Boards portlet
      5. Create a new thread "Z", then click back, and go back to the Message Boards portlet
      6. Create a new thread "W", then click back, and go back to the Message Boards portlet

      Expected Result:
      Sorting of the threads would be W, Z and then A, since W was created last, Z was created second-to-last, and A was created last.

      Actual Results:
      The threads are sorted oldest to newest: A, Z, and W.

      Branch:
      d7b6dcddda0236e480b52af343973620b1e52985
      ⚠️ Unable to test 7.0.X due to initialization errors during the startup process.

      Master:
      db229042e2ce5325a56f83fa15638dc7020fbf2e
      Issue Reproduced

      Attachments

        1. fix_70.png
          fix_70.png
          69 kB
        2. fix.png
          fix.png
          31 kB

        Issue Links

          Activity

            People

              melody.wu Melody Wu
              adolfo.perez Adolfo Pérez
              Kiyoshi Lee Kiyoshi Lee
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                6 years, 25 weeks, 2 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP8
                  7.0.0 DXP SP2
                  7.0.3 CE GA4
                  7.1.X
                  Master