File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
src/routes/copilotOpportunity Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ workflows:
149
149
context : org-global
150
150
filters :
151
151
branches :
152
- only : ['develop', 'migration-setup', 'pm-1510 ']
152
+ only : ['develop', 'migration-setup', 'PM-1314 ']
153
153
- deployProd :
154
154
context : org-global
155
155
filters :
Original file line number Diff line number Diff line change @@ -35,8 +35,15 @@ module.exports = [
35
35
} ,
36
36
] ,
37
37
order : [
38
- [ models . Sequelize . literal ( `CASE WHEN "CopilotOpportunity"."status" = 'active' THEN 0 ELSE 1 END` ) , 'ASC' ] ,
39
- [ sortParams [ 0 ] , sortParams [ 1 ] ]
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' ] ,
46
+ [ sortParams [ 0 ] , sortParams [ 1 ] ] ,
40
47
] ,
41
48
limit,
42
49
offset,
You can’t perform that action at this time.
0 commit comments