gaynetdinov / ex_money

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

Fix budget expenses view #94

Closed gaynetdinov closed 7 years ago

gaynetdinov commented 7 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.