taskListFilter.setIsActive(true);
taskListFilter.setSortField(TaskListFilter.SortField.PRIORITY);
taskListFilter.setSortDirection(TaskListFilter.SortDirection.ASC);
String user = SecurityHelper.getUserEmail(data.getUser());
if (user != null&&!user.isEmpty()) {
TaskUser tu = TaskHelper.checkIfUserExists(user);
if (tu != null) {
String lastSelectedMilestone = tu.getLastms();
if (lastSelectedMilestone != null && !lastSelectedMilestone.isEmpty()) {
taskListFilter.setMilestone(lastSelectedMilestone);
}
}
}