Skip to content

Commit 5e78ef6

Browse files
authored
Merge pull request #51 from BitBagCommerce/fix/op-311-fix-grid-sorting
OP-311/Fix grid sorting
2 parents 3ca570e + 96d7234 commit 5e78ef6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Resources/config/grids/bitbag_shipping_export.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sylius_grid:
1717
type: twig
1818
label: sylius.ui.order
1919
path: .
20-
sortable: shipment.order
20+
sortable: shipment.order.number
2121
options:
2222
template: "@BitBagSyliusShippingExportPlugin/ShippingExport/Grid/Field/orderNumber.html.twig"
2323
shipment:
@@ -38,7 +38,7 @@ sylius_grid:
3838
type: twig
3939
label: sylius.ui.shipping_method
4040
path: .
41-
sortable: shipment.method
41+
sortable: shipment.method.code
4242
options:
4343
template: "@BitBagSyliusShippingExportPlugin/ShippingExport/Grid/Field/shippingMethod.html.twig"
4444
labelPath:

0 commit comments

Comments
 (0)