diff --git a/app/models/budget/reclassification.rb b/app/models/budget/reclassification.rb index b77dc374a..7eefc0d33 100644 --- a/app/models/budget/reclassification.rb +++ b/app/models/budget/reclassification.rb @@ -30,7 +30,7 @@ class Budget end def store_reclassified_votes(reason) - ballot_lines_for_investment.each do |line| + ballot_lines_for_investment.order(:id).each do |line| attrs = { user: line.ballot.user, investment: self, reason: reason }