Fixed wrong URL on comment toggle link for sorting

This commit is contained in:
Frederic Guillot 2016-04-27 20:45:45 -04:00
parent 5fe413ad28
commit 81a25cbe63
2 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@ Improvements:
Bug fixes:
* Fixed wrong URL on comment toggle link for sorting
* Fixed form submission with Meta+Enter keyboard shortcut
* Removed PHP notices in comment suppression view

View File

@ -173,6 +173,6 @@ class Comment extends Base
$order = $this->userSession->getCommentSorting() === 'ASC' ? 'DESC' : 'ASC';
$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'));
}
}