Pass data age keyword for Pumping card

Fixes #613
This commit is contained in:
Christopher C. Wells 2023-03-18 10:57:23 -07:00
parent f4de6c8e33
commit 4f2b9c9871
1 changed files with 1 additions and 1 deletions

View File

@ -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()
)