From 20623cc6fba363a4de1945b9ea0ef8f56048051a Mon Sep 17 00:00:00 2001 From: plockwood Date: Mon, 25 Nov 2024 15:34:50 +0000 Subject: [PATCH] revert back to false for is form a a mat flag - records with null isformat were historical onces created before IsFormAMat funcntionality --- .../Repositories/ConversionProjectRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs b/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs index 32b2e4925..6b5953467 100644 --- a/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs +++ b/Dfe.Academies.Academisation.Data/Repositories/ConversionProjectRepository.cs @@ -98,7 +98,7 @@ private static IQueryable FilterGroupedProjects(IQueryable 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 == null && p.Details.TrustReferenceNumber != null) + (p.Details.TrustUkprn == null && p.Details.IsFormAMat == false && p.Details.TrustReferenceNumber != null) && p.DeletedAt == null) .ToListAsync();