summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-01-31 10:36:46 -0500
committerFrederic Guillot <fred@kanboard.net>2016-01-31 10:36:46 -0500
commit3279768c1cff1534f435a080c4765f8a45290a4e (patch)
treecf6b98defc6a4eaf646939cb379d968d097749d3
parentbb040cfb78d53696edd63bf256d0fd8ba3ccdbfa (diff)
Have a new task assigned to the creator by default instead of "no assignee"
-rw-r--r--ChangeLog1
-rw-r--r--app/Controller/Taskcreation.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 031ab02c..84c10aee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,7 @@ New features:
Improvements:
+* Have a new task assigned to the creator by default instead of "no assignee"
* Show progress for task links in board tooltips
* Simplify code to handle ajax popover and redirects
diff --git a/app/Controller/Taskcreation.php b/app/Controller/Taskcreation.php
index dc942594..ed2ac1b9 100644
--- a/app/Controller/Taskcreation.php
+++ b/app/Controller/Taskcreation.php
@@ -25,6 +25,7 @@ class Taskcreation extends Base
'swimlane_id' => $this->request->getIntegerParam('swimlane_id', key($swimlanes_list)),
'column_id' => $this->request->getIntegerParam('column_id'),
'color_id' => $this->color->getDefaultColor(),
+ 'owner_id' => $this->userSession->getId(),
);
}