Fix the postgres job (#61)
This commit is contained in:
parent
a3aa4fb543
commit
71f1f6dbba
|
@ -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