mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 20:00:02 +00:00
🐛 Fix bug that it did load same executions multiple times
This commit is contained in:
@@ -853,8 +853,8 @@ class App {
|
||||
}
|
||||
|
||||
const countFilter = JSON.parse(JSON.stringify(filter));
|
||||
if (req.query.lastStartedAt) {
|
||||
filter.startedAt = LessThan(req.query.lastStartedAt);
|
||||
if (req.query.lastId) {
|
||||
filter.id = LessThan(req.query.lastId);
|
||||
}
|
||||
countFilter.select = ['id'];
|
||||
|
||||
@@ -871,7 +871,7 @@ class App {
|
||||
],
|
||||
where: filter,
|
||||
order: {
|
||||
startedAt: "DESC",
|
||||
id: 'DESC',
|
||||
},
|
||||
take: limit,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user