Skip to content

Commit

Permalink
Merge pull request #415 from DFE-Digital/feature/trust-v4-endpoint
Browse files Browse the repository at this point in the history
Feature/trust v4 endpoint
  • Loading branch information
paullocknimble authored Nov 13, 2023
2 parents abfb144 + ff2f7ad commit 1255ad3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public async Task<List<Trust>> GetTrustsByUkprns(string[] ukprns, CancellationTo
&& (
trust.TrustType.Name == "Single-academy trust" ||
trust.TrustType.Name == "Multi-academy trust"
))
) && trust.TrustStatus == "Open")
.OrderBy(trust => trust.GroupUID);

return (await filteredGroups.Skip((page - 1) * count).Take(count).ToListAsync(cancellationToken).ConfigureAwait(false), filteredGroups.Count());
Expand Down

0 comments on commit 1255ad3

Please sign in to comment.