diff --git a/dashboard/templatetags/cards.py b/dashboard/templatetags/cards.py index a1fcf1b6..17ef75ac 100644 --- a/dashboard/templatetags/cards.py +++ b/dashboard/templatetags/cards.py @@ -207,7 +207,7 @@ def card_pumping_last(context, child): """ instance = ( models.Pumping.objects.filter(child=child) - .filter(**_filter_data_age(context)) + .filter(**_filter_data_age(context, "time")) .order_by("-time") .first() )