From 31fa49feeda98f33bb5cdf46c4d5399886fa4aa9 Mon Sep 17 00:00:00 2001 From: Duende13 Date: Sat, 1 Jul 2017 07:12:25 +1000 Subject: [PATCH] Added orderBy 'name' to the list of shipping methods offered. --- app/views/checkout/_shipping.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/checkout/_shipping.html.haml b/app/views/checkout/_shipping.html.haml index 6cba461be0..c137f2cdee 100644 --- a/app/views/checkout/_shipping.html.haml +++ b/app/views/checkout/_shipping.html.haml @@ -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",