Fix the postgres job (#61)
This commit is contained in:
parent
fba82afcc1
commit
d9a708847c
|
@ -922,7 +922,7 @@ def process_instance_list(
|
||||||
)
|
)
|
||||||
|
|
||||||
process_instances = (
|
process_instances = (
|
||||||
process_instance_query.distinct()
|
process_instance_query.group_by(ProcessInstanceModel.id)
|
||||||
.order_by(
|
.order_by(
|
||||||
ProcessInstanceModel.start_in_seconds.desc(), ProcessInstanceModel.id.desc() # type: ignore
|
ProcessInstanceModel.start_in_seconds.desc(), ProcessInstanceModel.id.desc() # type: ignore
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue