Fix ignored parameter in 9eb2d4301

This commit is contained in:
Raphael Michel
2023-01-25 10:13:46 +01:00
parent 034a32b048
commit b9d8429da8

View File

@@ -183,7 +183,7 @@ class CheckinList(LoggedModel):
.values("position_id", "type", "datetime", "cnt_exists_after") .values("position_id", "type", "datetime", "cnt_exists_after")
.query.sql_with_params() .query.sql_with_params()
) )
return self.positions.filter( return self.positions_query(ignore_status=ignore_status).filter(
pk__in=RawSQL( pk__in=RawSQL(
f""" f"""
SELECT "position_id" SELECT "position_id"