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

Pending and Completed task sections change their positions when are sorted by Ascending/Descending in My Workflow Tasks

Details

    Description

      Regarding LPP-29694, there is a bug when user attempts to sorting by Ascending/Descending and there are 'Pending' and 'Completed' tasks in his 'My Workflow Tasks'. 

      Steps to reproduce master/7.0.x:

      1. Start a portal and login with an user with administrator role.
      2. Go to Site Menu > Dynamic Data Lists.
        • Create new DDL with any Data Definition (e.g. 'Contacts') and Workflow 'Single Approver'.
      3. Add 21 new register created in step 2. (we need 21 because page size by default is 20).
      4. Go to User Menu > My Account > My Workflow Tasks > tab Assigned to My Roles and click on 'Assign to Me' by Kebab Menu (all 21 tasks).
      5. Go to User Menu > My Account > My Workflow Tasks > tab Assigned to Me and 'Approve' most tasks except one, the more recent.
      6. Sorting by Ascending/Descending buttons.

      Expected behavior:
      Pending task should be always in first position, before Completed tasks.
      Current behavior:
      Pending tasks goes to last position, after Completed tasks. sorting_completed_pending_task.mp4

       

      Attachments

        Activity

          People

            harry.chai Harry Chai
            josemaria.munoz José María Muñoz
            Kiyoshi Lee Kiyoshi Lee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              4 years, 25 weeks, 1 day ago

              Packages

                Version Package
                7.0.0 DXP FP47
                7.0.0 DXP SP8
                7.0.X
                7.1.X
                Master