Skip to content

Commit

Permalink
Merge pull request #610 from DFE-Digital/bugfix/trust-ukprn-not-popul…
Browse files Browse the repository at this point in the history
…ated

Bugfix/trust ukprn not populated
  • Loading branch information
paullocknimble authored Nov 25, 2024
2 parents 54d29c4 + 3e72dd3 commit 9dcadae
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ private static IQueryable<Project> FilterGroupedProjects(IQueryable<Project> que
string.IsNullOrEmpty(p.Details.SchoolPhase) ||
string.IsNullOrEmpty(p.Details.SchoolType) ||
// we need projects that have a trust associated that aren't form a mat that require a trust ukprn
(p.Details.TrustUkprn == null && p.Details.IsFormAMat == false && p.Details.TrustReferenceNumber != null))
(p.Details.TrustUkprn == null && p.Details.IsFormAMat == null && p.Details.TrustReferenceNumber != null)
&& p.DeletedAt == null)
.ToListAsync();

return createdProjectState;
Expand Down

0 comments on commit 9dcadae

Please sign in to comment.