Skip to content

Commit 90d69bc

Browse files
author
Vikas Agarwal
committed
ordering milestone templates before creating milestones based on them
1 parent 63abc6e commit 90d69bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/routes/timelines/create.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ module.exports = [
6464
productTemplateId: templateId,
6565
deletedAt: { $eq: null },
6666
},
67+
order: [['order', 'asc']],
6768
}).then((milestoneTemplates) => {
6869
if (milestoneTemplates) {
6970
req.log.debug('%d MilestoneTemplates found', milestoneTemplates.length);

0 commit comments

Comments
 (0)