mirror of https://github.com/snachodog/mybuddy.git
parent
f4de6c8e33
commit
4f2b9c9871
|
@ -207,7 +207,7 @@ def card_pumping_last(context, child):
|
||||||
"""
|
"""
|
||||||
instance = (
|
instance = (
|
||||||
models.Pumping.objects.filter(child=child)
|
models.Pumping.objects.filter(child=child)
|
||||||
.filter(**_filter_data_age(context))
|
.filter(**_filter_data_age(context, "time"))
|
||||||
.order_by("-time")
|
.order_by("-time")
|
||||||
.first()
|
.first()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue