Compare commits

..

No commits in common. "3c1e4ac45da193344335c960b01fe2ccbadb87be" and "a5dd41b53385db28ea5b37b3f1baa2ce7572462c" have entirely different histories.

View file

@ -23,9 +23,9 @@ def category_plot(transactions, **kwargs):
"categories": categories,
}
| categories.aggregate(
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_p=models.Sum("sum_p"),
total=models.Sum("sum"),
total=models.Sum("value"),
)
)