Fixed wrong URL on comment toggle link for sorting
This commit is contained in:
@@ -22,6 +22,7 @@ Improvements:
|
|||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
|
||||||
|
* Fixed wrong URL on comment toggle link for sorting
|
||||||
* Fixed form submission with Meta+Enter keyboard shortcut
|
* Fixed form submission with Meta+Enter keyboard shortcut
|
||||||
* Removed PHP notices in comment suppression view
|
* Removed PHP notices in comment suppression view
|
||||||
|
|
||||||
|
|||||||
@@ -173,6 +173,6 @@ class Comment extends Base
|
|||||||
$order = $this->userSession->getCommentSorting() === 'ASC' ? 'DESC' : 'ASC';
|
$order = $this->userSession->getCommentSorting() === 'ASC' ? 'DESC' : 'ASC';
|
||||||
$this->userSession->setCommentSorting($order);
|
$this->userSession->setCommentSorting($order);
|
||||||
|
|
||||||
$this->response->redirect($this->helper->url->href('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), false, 'comments'));
|
$this->response->redirect($this->helper->url->to('task', 'show', array('task_id' => $task['id'], 'project_id' => $task['project_id']), 'comments'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user