Order outgoing products by name

This commit is contained in:
Rohan Mitchell
2015-11-17 13:36:14 +11:00
parent 8f917817b8
commit c5e2ed5aa1

View File

@@ -5,7 +5,7 @@
Select all
-# Scope product list based on permissions the current user has to view variants in this exchange
.exchange-product{'ng-repeat' => 'product in supplied_products | filter:productSuppliedToOrderCycle | visibleProducts:exchange:order_cycle.visible_variants_for_outgoing_exchanges' }
.exchange-product{'ng-repeat' => 'product in supplied_products | filter:productSuppliedToOrderCycle | visibleProducts:exchange:order_cycle.visible_variants_for_outgoing_exchanges | orderBy:"name"' }
.exchange-product-details
.supplier {{ product.supplier_name }}
%label