Skip to content

Base SCALE pagination bug #2

@Blake-goofy

Description

@Blake-goofy

Bug: Wrong Page Content Shown After Returning From Edit With Filters Applied

Summary

When navigating paginated results with filters applied, the UI shows the wrong page contents after returning from an edit action.

Steps to Reproduce

  1. Open a filtered form, e.g.
    https://scale20.byjasco.com/scale/insights/2723?filters=Item▉81599,BasicCriteriaEmptyLocs▉TRUE,BasicCriteria-Aggregate▉TRUE
  2. Click Next to go to page 2.
  3. Select a row on page 2 and choose Actions → Edit.
  4. On the edit page (/scale/trans/inventory?...), click Cancel.

Observed Behavior

  • Page indicator shows Page 2.
  • Displayed rows are actually Page 1 content.
  • Pressing Previous still shows Page 1 content.
  • Only after pressing Next again does Page 2 content load correctly.

Notes

  • Session storage key (e.g. 2723_#ListPaneDataGrid_LastSelected) stores correct index values ({"index":5,"page":0,"keyValue":null}), so state tracking appears correct.
  • Issue only reproduced when the original URL includes filters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions