gaynetdinov / ex_money

An [abandoned] self-hosted personal finance app
ISC License
167 stars 12 forks source link

Fix budget expenses view #94

Closed gaynetdinov closed 6 years ago

gaynetdinov commented 6 years ago

It's kinda stupid to calculate total sum of all transactions amounts per category and then display it as 'Top Expenses' view. In such case if there are two transactions with the same category, where one of them has amount -1000 and another one has +1001, then such category wouldn't appear in 'Top Expenses' view on Budget page.

This PR fixes that.