From 5f7a3442d61b99e2fbad732bd0eaf9ad64398274 Mon Sep 17 00:00:00 2001 From: Aurélien Date: Mon, 2 Apr 2018 23:07:04 +0200 Subject: Add default filter per user --- app/Core/User/UserSession.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Core/User/UserSession.php') 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); -- cgit v1.2.3