<?php
$dataContent = $user->name;
if ($user->active) {
if (!$user->active) {
$dataContent .= ' <span class="label label-default">Inactive</span>';
}
if($user->teams and $user->active){
foreach ($user->teams as $team){
$dataContent .= ' <span class="label label-primary">'.$team->name.'</span>';
}
}
$assignee = isset($filter_var['assignee']) ? $filter_var['assignee'] : [];
if (!filter_var($assignee)) {
$assignee = [$assignee];
}
$assignee = array_unique($assignee);
}
?>
// I just need to look for the right code on how to hide "assignee" which was in the drop down list. I tried everything but nothing happens.