title | issue |
---|---|
Fix sorting in admin grid broken for specific fields |
NEXT-6634 |
- Changed property
dataIndex: orderCustomer.lastName,orderCustomer.firstName
in methodgetOrderColumns
in/src/module/sw-order/page/sw-order-list/index.js
to fix sorting Customer name in Order grid. - Changed
{{ item.orderCustomer.lastName }}, {{ item.orderCustomer.firstName }}
in blocksw_order_list_grid_columns_customer_name
in/src/module/sw-order/page/sw-order-list/sw-order-list.html.twig
to change format of Customer name in Order grid. - Changed property
dataIndex: customer.lastName,customer.firstName
in methodcolumns
in/src/module/sw-review/page/sw-review-list/index.js
to fix sorting Customer name in Review grid. - Added property
useCustomSort: true
in methodgetCustomerColumns
in/src/module/sw-customer/page/sw-customer-list/index.js
to fix sorting Street in Customer grid. - Changed property
dataIndex: lastName,firstName
in methodgetCustomerColumns
in/src/module/sw-customer/page/sw-customer-list/index.js
to fix sorting Customer name in Customer grid. - Added event handler @column-sort="onSortColumn" in component sw-entity-listing in /src/module/sw-customer/page/sw-customer-list/sw-customer-list.html.twig to fix sorting Customer name in Customer grid.
- Changed
{{ item.lastName }}, {{ item.firstName }}
in blocksw_customer_list_grid_columns_name_link
in/src/module/sw-customer/page/sw-customer-list/sw-customer-list.html.twig
to change format of Customer name in Customer grid.