Skip to content

Commit

Permalink
fix: DESC sort of start amount when obtaining fees and commissions so…
Browse files Browse the repository at this point in the history
… that amount ranges to be properly applied
  • Loading branch information
stambata committed Nov 7, 2016
1 parent acb21f3 commit bc39d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/postgres/750$rule.decision.fetch.sql
Expand Up @@ -108,7 +108,7 @@ $BODY$
"@amount" >= f."startAmount"
ORDER BY
c."priority",
f."startAmount",
f."startAmount" DESC,
f."feeId"
LIMIT 1
)
Expand Down

0 comments on commit bc39d3c

Please sign in to comment.