Added issue 14, ability to change the interest status.
The interest status or watch list is now shown in the list of the issues and can be changed by clicking on the star in front of the title of an issue when looking at an issue.
This commit is contained in:
@@ -220,9 +220,6 @@ class IDF_Form_IssueCreate extends Pluf_Form
|
||||
foreach ($tags as $tag) {
|
||||
$issue->setAssoc($tag);
|
||||
}
|
||||
$issue->setAssoc($this->user); // the user is
|
||||
// automatically
|
||||
// interested.
|
||||
// add the first comment
|
||||
$comment = new IDF_IssueComment();
|
||||
$comment->issue = $issue;
|
||||
|
@@ -253,6 +253,7 @@ class IDF_Form_IssueUpdate extends IDF_Form_IssueCreate
|
||||
$comment->changes = $changes;
|
||||
$comment->create();
|
||||
$this->issue->update();
|
||||
$this->issue->setAssoc($this->user); // interested user.
|
||||
return $this->issue;
|
||||
}
|
||||
throw new Exception(__('Cannot save the model from an invalid form.'));
|
||||
|
Reference in New Issue
Block a user