diff --git a/core/templates/core/user_account_detail.jinja b/core/templates/core/user_account_detail.jinja index 5c352b3c..19748bd2 100644 --- a/core/templates/core/user_account_detail.jinja +++ b/core/templates/core/user_account_detail.jinja @@ -21,7 +21,8 @@
- {% for i in customer.refillings.order_by('-date').all() %} + {% for i in customer.refillings.order_by('-date').filter( + date__year=year, date__month=month) %}