Skip to content

Sales Order Grid column ordering not saved properly #23889

@gwharton

Description

@gwharton

Preconditions (*)

  1. magento 2.3-develop vanilla

Steps to reproduce (*)

  1. deploy 2.3-develop
Sales -> Orders
    Enable all columns
    Open Browser Development Tools
    Filter network requests for the url string "?isAjax=true"
    Make a note of column orders
    Move a column and note new position
    Verify that there is an "?isAjax=true" call made to the server after column move
    Refresh Page
    Verify column ordering on page after refresh
    Note whether an "?isAjax=true" call is made during page reload
    Repeat Refreshing Page noting column ordering and presence of "?isAjax=true" call

Expected result (*)

  1. Column ordering is maintained across page refreshes
  2. "?isAjax=true" calls should only be made immediately after column move, not page refresh

Actual result (*)

  1. Seemingly randomly chosen columns move on successive page refreshes (not every refresh).
  2. "?isAjax=true" calls are made back to the server during page refresh (not every refresh) with incorrect column order
  3. The ajax call incorrectly changes column ordering stored on the server. The page then renders the wrong order in accordance with what is set on the server.

Old Issue

magento/magento2 #17691 - Admin Grid column ordering/positioning not working

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: AdminIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported on 2.3.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions