File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Resources/config/grids Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ sylius_grid:
10
10
class : " %bitbag.model.shipping_export.class%"
11
11
repository :
12
12
method : createListQueryBuilder
13
+ arguments : ["expr:service('sylius.context.locale').getLocaleCode()"]
13
14
sorting :
14
15
shipment : desc
15
16
fields :
16
17
order :
17
18
type : twig
18
19
label : sylius.ui.order
19
20
path : .
20
- sortable : shipment.order
21
+ sortable : shipment.order.number
21
22
options :
22
23
template : " @BitBagSyliusShippingExportPlugin/ShippingExport/Grid/Field/orderNumber.html.twig"
23
24
shipment :
@@ -38,7 +39,7 @@ sylius_grid:
38
39
type : twig
39
40
label : sylius.ui.shipping_method
40
41
path : .
41
- sortable : shipment.method
42
+ sortable : shipment.method.code
42
43
options :
43
44
template : " @BitBagSyliusShippingExportPlugin/ShippingExport/Grid/Field/shippingMethod.html.twig"
44
45
labelPath :
You can’t perform that action at this time.
0 commit comments