Skip to content

Commit 8d867b3

Browse files
author
Jani Giannoudis
committed
remove obsolete FilterEmployeesByIsolation call from list_employees
1 parent 314a7c5 commit 8d867b3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

Tools/PeopleTools/EmployeeQueryTools.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ public async Task<string> ListEmployeesAsync(
3131
var context = await ResolveTenantContextAsync(tenantIdentifier);
3232
var query = IsolatedEmployeeQuery(filter, top > 0 ? top : null);
3333
var employees = await EmployeeService().QueryAsync<Employee>(context, query);
34-
// Client-side division filter (backend does not support divisions/any() OData lambda)
35-
var filtered = FilterEmployeesByIsolation(employees);
36-
return JsonSerializer.Serialize(filtered);
34+
return JsonSerializer.Serialize(employees);
3735
}
3836
catch (Exception ex) { return Error(ex); }
3937
}

0 commit comments

Comments
 (0)