filter on reimbursement_user not user
This commit is contained in:
parent
b56b9c27b4
commit
fca7bd3721
|
@ -31,7 +31,7 @@ class ExpenseListView(LoginRequiredMixin, CampViewMixin, ListView):
|
||||||
Add reimbursements to the context
|
Add reimbursements to the context
|
||||||
"""
|
"""
|
||||||
context = super().get_context_data(**kwargs)
|
context = super().get_context_data(**kwargs)
|
||||||
context['reimbursement_list'] = Reimbursement.objects.filter(user=self.request.user)
|
context['reimbursement_list'] = Reimbursement.objects.filter(reimbursement_user=self.request.user)
|
||||||
return context
|
return context
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue