From 4f2b9c9871149eaa9448849157cdd279721c57e3 Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Sat, 18 Mar 2023 10:57:23 -0700 Subject: [PATCH] Pass data age keyword for Pumping card Fixes #613 --- dashboard/templatetags/cards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() )