Fix wrong total values (#10)
This commit is contained in:
parent
a5dd41b533
commit
02bd1853d5
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ def category_plot(transactions, **kwargs):
|
||||||
max=Greatest(models.Sum("sum_m"), models.Sum("sum_p")),
|
max=Greatest(models.Sum("sum_m"), models.Sum("sum_p")),
|
||||||
total_m=models.Sum("sum_m"),
|
total_m=models.Sum("sum_m"),
|
||||||
total_p=models.Sum("sum_p"),
|
total_p=models.Sum("sum_p"),
|
||||||
total=models.Sum("value"),
|
total=models.Sum("sum"),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue