Added orderBy 'name' to the list of shipping methods offered.

This commit is contained in:
Duende13
2017-07-01 07:12:25 +10:00
committed by Rob Harrington
parent b68aafdb72
commit 31fa49feed

View File

@@ -14,7 +14,7 @@
= render 'checkout/accordion_heading'
.small-12.columns.medium-12.columns.large-6.columns
%label{"ng-repeat" => "method in ShippingMethods.shipping_methods"}
%label{"ng-repeat" => "method in ShippingMethods.shipping_methods | orderBy: 'name'"}
%input{type: :radio,
required: true,
name: "order.shipping_method_id",