Fix backend merge fallout for booking and limited employees

This commit is contained in:
Jeppe Bundgaard
2026-07-06 17:16:22 +02:00
parent e0ae74bdc2
commit 614715822f
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ class usersRoute
return [
'enabled' => true,
'filters' => $filterArray === [] ? null : $users->array_to_filters($filterArray),
'filters' => $filterArray === [] ? 'id:NOT ZERO' : $users->array_to_filters($filterArray),
'additional_where' => '(`customer_number` = 0 OR `id` IN (' . $activeLimitedEmployeeSubquery . '))',
];
}