# Compensation sum fix
* fixes sum of compensations on landing page
This commit is contained in:
1 parent
ee2c859a9e
commit
4c372c1a04
1 file changed
+1
@@ -53,6 +53,7 @@ class HomeView(LoginRequiredMixin, View):
|
||||
# Repeat for other objects
|
||||
comps = Compensation.objects.filter(
|
||||
deleted=None,
|
||||
intervention__deleted=None,
|
||||
)
|
||||
user_comps = comps.filter(
|
||||
Q(intervention__users__in=[user]) | Q(intervention__teams__in=user_teams)
|
||||
|
||||
Reference in new issue
Block a user