mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Only update totals and states in AdjustmentsController
Avoids unnecessary updating of all other adjustments
This commit is contained in:
@@ -15,7 +15,7 @@ module Spree
|
||||
|
||||
def update_order
|
||||
@order.reload
|
||||
@order.update_order!
|
||||
@order.updater.update_totals_and_states
|
||||
end
|
||||
|
||||
def collection
|
||||
|
||||
Reference in New Issue
Block a user