Skip to content

Commit

Permalink
fix(issue): adjust ticket status n automatic action
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <[email protected]>
  • Loading branch information
btry committed Aug 6, 2020
1 parent c88cb99 commit 397a912
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/issue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public static function cronSyncIssues(CronTask $task) {
CONCAT('t_',`tic`.`id`) AS `display_id`,
`tic`.`id` AS `original_id`,
'Ticket' AS `sub_itemtype`,
if(`tv`.`status` IS NULL,`tic`.`status`, if(`tv`.`status` = 2, 101, if(`tv`.`status` = 3, 2, 102))) AS `status`,
if(`tv`.`status` IS NULL,`tic`.`status`, if(`tv`.`status` = 2, 101, if(`tv`.`status` = 3, `tic`.`status`, 102))) AS `status`,
`tic`.`date` AS `date_creation`,
`tic`.`date_mod` AS `date_mod`,
`tic`.`entities_id` AS `entities_id`,
Expand Down

0 comments on commit 397a912

Please sign in to comment.