Uploaded image for project: 'stripes-smart-components'
  1. stripes-smart-components
  2. STSMACOM-269

Sorting doesn't reset current page index

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      stripes-force 77, stripes-force 78, stripes-force 79
    • Development Team:
      Stripes Force

      Description

      When sorting in modules that use SearchAndSort (such as Inventory), if the user has previously paged through multiple pages of a result list, all of those pages are re-requested with sorted data. The expected behavior is for only the first page of data to be requested with sorted data, since the current behavior could conceivably queue up hundreds of requests with 1 click.

      To reproduce:

      1. Login to FOLIO demo site and navigate to Inventory.
      2. Open browser dev tools to the network tab.
      3. Perform a search and scroll down to page through a few pages of results.
      4. Click a column header (such as title) to invoke sort
      5. Note from the dev tools that all page indexes are re-requested with sort applied.

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                rberger Ryan Berger
                Reporter:
                rberger Ryan Berger
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases