🐛 Fix bug that old executions did get displayed as running

This commit is contained in:
Jan Oberhauser 2019-08-05 19:13:18 +02:00
parent e82deba47b
commit 78bf3a5a28

View file

@ -767,7 +767,16 @@ class App {
countFilter.select = ['id'];
const resultsPromise = Db.collections.Execution!.find({
select: ['id', 'workflowData'],
select: [
'id',
'finished',
'mode',
'retryOf',
'retrySuccessId',
'startedAt',
'stoppedAt',
'workflowData',
],
where: filter,
order: {
startedAt: "DESC",