Skip to content

Commit ab5e2f0

Browse files
committed
PM-1314 Remove grouping logic
1 parent 65d9a7e commit ab5e2f0

File tree

1 file changed

+0
-8
lines changed
  • src/routes/copilotOpportunity

1 file changed

+0
-8
lines changed

src/routes/copilotOpportunity/list.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ module.exports = [
3535
},
3636
],
3737
order: [
38-
[models.Sequelize.literal(`
39-
CASE
40-
WHEN "CopilotOpportunity"."status" = 'active' THEN 0
41-
WHEN "CopilotOpportunity"."status" = 'cancelled' THEN 1
42-
WHEN "CopilotOpportunity"."status" = 'completed' THEN 2
43-
ELSE 3
44-
END
45-
`), 'ASC'],
4638
[sortParams[0], sortParams[1]],
4739
],
4840
limit,

0 commit comments

Comments
 (0)