diff --git a/module/bug/css/browse.css b/module/bug/css/browse.css index 260ea0ab1d..557dba00db 100644 --- a/module/bug/css/browse.css +++ b/module/bug/css/browse.css @@ -22,6 +22,7 @@ th.c-confirmed {text-align: center;} .c-severity {overflow: hidden; white-space: nowrap;} .c-keywords {overflow: hidden; white-space: nowrap;} .c-id {text-overflow: ellipsis; white-space: nowrap;} +.c-toTask {overflow: hidden; white-space: nowrap;} .body-modal #mainMenu>.btn-toolbar {width: auto;} diff --git a/module/task/model.php b/module/task/model.php index 085e38fa20..71ca9f9516 100755 --- a/module/task/model.php +++ b/module/task/model.php @@ -189,6 +189,7 @@ class taskModel extends model if($bugID > 0) { $this->dao->update(TABLE_TASK)->set('fromBug')->eq($bugID)->where('id')->eq($taskID)->exec(); + $this->dao->update(TABLE_BUG)->set('toTask')->eq($taskID)->where('id')->eq($bugID)->exec(); $this->loadModel('action')->create('bug', $bugID, 'converttotask', '', $taskID); }