Fix backend merge fallout for booking and limited employees
This commit is contained in:
@@ -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 . '))',
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user