Views, saved views and column choice
Views above the list are filters, queries and columns under a name. Members save their own views and pick their columns under "Columns".
- Set some filters and press "Save view" – the view is yours (or shared with the team).
- "Ending within 30 days" uses a query relative to today and its own columns.
Try it: log in with the demo account
Email demo@frontdesk-demo.test · Password Try-Frontdesk-2026
Everyone shares this account. You may change anything – all data is reset every night.
The code
app/src/Controllers/ProjectController.php – defineListViews()
whole file
protected function defineListViews(): array
{
$me = (int) Security::getCurrentUser()?->ID;
return [
ListView::create('active', 'Active')
->filters(['Status' => 'active']),
ListView::create('mine', 'My projects')
->query(fn (DataList $list) => $list->filter('ManagerID', $me)),
ListView::create('ending', 'Ending within 30 days')
->query(fn (DataList $list) => $list->filter([
'Status' => 'active',
'EndDate:GreaterThanOrEqual' => date('Y-m-d'),
'EndDate:LessThanOrEqual' => date('Y-m-d', strtotime('+30 days')),
]))
->sort('EndDate ASC')
->columns(['Title', 'Client.Name', 'Manager.Name', 'Progress']),
];
}