diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/bazaar_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/bazaar_controller.rb b/app/controllers/bazaar_controller.rb index b9a8f21..3492053 100644 --- a/app/controllers/bazaar_controller.rb +++ b/app/controllers/bazaar_controller.rb @@ -1,6 +1,6 @@ class BazaarController < ApplicationController def index - @bazaar_orders = BazaarOrder.all + @bazaar_orders = BazaarOrder.joins(:item).order("items.name ASC, price_each ASC, created_at ASC") @items = Item.all.order(:name) end |