Skip to content

Commit

Permalink
Update ordering of brackets.
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Nov 5, 2024
1 parent 1701d83 commit 4d6f2d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/federal_tax_bracket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class FederalTaxBracket < ApplicationRecord
monetize :cumulative_cents

def self.order_by_range
all.order(:bottom_range_cents)
all.order(:federal_tax_table_type_id, :bottom_range_cents)
end

def update_rate(rate:)
Expand Down

0 comments on commit 4d6f2d3

Please sign in to comment.