Fix parent category sums in budget #1894
Reference in New Issue
Block a user
Delete Branch "1837-budget-parent-category-does-not-include-sums-of-subcategories"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The changes in #1823 introduced a regression where if a user had a parent category with zero transactions assigned to it while there were transactions assigned to one or more of its subcategories, the parent category summed to 0.
This is because the totals query filters out any categories with no transactions. This PR fixes this by ensuring that all family categories are included in the
PeriodTotalsresponse of theIncomeStatement.Still having this issue in v0.4.3, nothing attached to the parent category, everything in sub-categories.
Running self-hosted on Umbrel.
@Foiler25 is there a chance Umbrel has not yet updated your app to the latest version? Can you confirm that the latest deploy is on
v0.4.3?This is working fine on both the hosted and self-hosted version for me so we'll need some more info to diagnose.
Hi @zachgoll after digging a bit deeper, the version that was published on Umbrel says it is 0.4.3 but within Maybe it is showing it currently running 0.4.1, apologies for the mistake, I will reach out through the appropriate channels for Umbrel instead.