-
Couldn't load subscription status.
- Fork 9.4k
Closed
Labels
Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failed
Description
I creating a new adminhtml grid, and I have found a problem with setting up columns positions.
Steps to reproduce
- For example open the ui_component of adminhtml catalog product list Magento/Catalog/view/adminhtml/ui_component/product_listing.xml.
- Section "columns". Elements "column" have "sortOrder" config, which should sort columns in grid.
- Decrease value "sortOrder" of "name" column to 15.

Expected result
Actual result
- Column aren't being moved.
I assume the bug is in Ui module. The file Magento/Ui/view/base/web/js/grid/listing.js contains mehtod "updatePositions" that setting up columns position by their index instead of element sortOrder. The working solution for me is replace "index" for "elem.sortOrder".

Metadata
Metadata
Assignees
Labels
Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failed
