summaryrefslogtreecommitdiff
path: root/app/Core
diff options
context:
space:
mode:
authorAurélien <cadiou.aurelien@gmail.com>2018-04-02 23:07:04 +0200
committerFrédéric Guillot <fred@kanboard.net>2018-04-02 14:07:04 -0700
commit5f7a3442d61b99e2fbad732bd0eaf9ad64398274 (patch)
tree78d2b159be9d2df92e28c90164430fdac2a4cac7 /app/Core
parentbc4457c4cb096a448d88ca882d30bae15aff56c3 (diff)
Add default filter per user
Diffstat (limited to 'app/Core')
-rw-r--r--app/Core/User/UserSession.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Core/User/UserSession.php b/app/Core/User/UserSession.php
index 0206be80..d52e6c73 100644
--- a/app/Core/User/UserSession.php
+++ b/app/Core/User/UserSession.php
@@ -223,7 +223,7 @@ class UserSession extends Base
public function getFilters($projectID)
{
if (! session_exists('filters:'.$projectID)) {
- return 'status:open';
+ return session_get('user')['filter'];
}
return session_get('filters:'.$projectID);