New Navigation: Sorting objectives by ID in grid with multiple pages results in ID order changes when navigating through pages

XMLWordPrintable

      Issue Summary

      New Navigation

      When sorting by ID column a list of objectives with multiple pages and you start to navigate through the pages this results in changing the ID order.

      Old UI

      Does not have this issue

      Steps to Reproduce

      1. Open the Objectives grid (ID column has decreasing order) with more pages to navigate (suppose you can see 10 items for each page but the number of items in a page can be configured, the bug is always present)
      2. Order by ID column (ID column has increasing order) - note in the URL you can see sort_id - In the UI you will see the
      3. Click Next - the result is decreasing  
      4. Click Next - the result is increasing - showing the next IDs from step 2 
      5. If you click again Next, it will continue to alternate increase-decrease

      The same issue would apply if you open the Objectives grid (with ID column decreasing order) and you sort with increasing order.

      For completeness all the times in the New Navigation have been tested and this issue occurred only to Objectives: 

      • Themes → order by ID (increasing order), turn page 1, 2, FIRST, LAST → Testresult: OK, order of items stays as expected.
      • Portfolio Epics → order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Jira Epics → order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Stories → order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Defects: order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Stories → order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Tasks → order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Objectives → order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: NOT OK, sorting order changes with each page switch.
      • Dependencies
        • upper table (currently 50 records, 3 pages with max 20 records): order by ID (increasing order), turn page 1, 2, 3 FIRST, LAST → Testresult: OK
        • lower table (currently 2007 records, 101 pages with max 20): order by ID (increasing order), turn page 1, 2, 3 FIRST, LAST → Testresult: OK
      • Ideation: order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult: OK
      • Risks → order by ID (increasing order), turn page 1, 2, 3 FIRST, LAST → Testresult: OK
      • Impediments → order by ID (increasing order), turn page 1, 2, 3 FIRST, LAST → Testresult: OK
      • Sprints → order by ID (increasing order), turn page 1, 2, 3 FIRST, LAST → Testresult: OK
      • Program Increments → order by ID (increasing order), turn page 1, 2, FIRST, LAST → Testresult: OK
      • Release Vehicles → order by ID (increasing order), turn page 1, 2, FIRST, LAST → Testresult: OK
      • Success Criteria: order by ID (increasing order), turn page 1, 2, 3, 4, 5, FIRST, LAST → Testresult*: OK

      Expected Results

      The order by ID should be maintained with each page switch. 

      Actual Results

      The order by ID changes with each page switch alternating on increase decrease. No makes sense.

      Workaround

      If you want to have ID column with a decreasing order and maintain the decreased order, for example, for each page switch you should follow these steps:

      1. Open the Objectives grid (ID column has decreasing order) with more pages to navigate (suppose you can see 10 items for each page but the number of items in a page can be configured,
      2. # Order by ID column (ID column has increasing order) - note in the URL you can see sort_id - In the UI you will see the
      3. Reopen the Objectives grid from Items-> Objectives and you will see that the increasing order on ID column is maintained. In the URL there is no more the Sort_id
      4. Click Next - the result keeps increasing - and if you continue to click the Next button the increase is kept.

      The same will apply if you want to maintain the decrease.

        1. image-2023-12-12-12-20-54-617.png
          image-2023-12-12-12-20-54-617.png
          149 kB
        2. image-2023-12-12-12-22-36-083.png
          image-2023-12-12-12-22-36-083.png
          171 kB
        3. image-2023-12-12-12-23-17-998.png
          image-2023-12-12-12-23-17-998.png
          157 kB
        4. image-2023-12-12-12-24-15-771.png
          image-2023-12-12-12-24-15-771.png
          158 kB
        5. image-2023-12-12-12-24-53-175.png
          image-2023-12-12-12-24-53-175.png
          147 kB
        6. image-2023-12-12-12-42-10-963.png
          image-2023-12-12-12-42-10-963.png
          166 kB
        7. image-2023-12-12-12-43-26-333.png
          image-2023-12-12-12-43-26-333.png
          150 kB

            Assignee:
            Don Fuller
            Reporter:
            Federica Marchetti (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: