From 00ac59a1d7f5f8f96d3b1751c83b7dfdc7157217 Mon Sep 17 00:00:00 2001 From: James Gunn Date: Thu, 4 Jan 2024 17:02:18 +0000 Subject: [PATCH] Handle MQs with a deactivated provider --- .../Dqt/QueryHandlers/GetAllMqEstablishmentsHandler.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/QueryHandlers/GetAllMqEstablishmentsHandler.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/QueryHandlers/GetAllMqEstablishmentsHandler.cs index 27a972a8a..16197daa8 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/QueryHandlers/GetAllMqEstablishmentsHandler.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/QueryHandlers/GetAllMqEstablishmentsHandler.cs @@ -10,7 +10,6 @@ public class GetAllMqEstablishmentsHandler : ICrmQueryHandler Execute(GetAllMqEstablishmentsQuery query, IOrganizationServiceAsync organizationService) { var filter = new FilterExpression(LogicalOperator.And); - filter.AddCondition(dfeta_mqestablishment.Fields.StateCode, ConditionOperator.Equal, (int)dfeta_mqestablishmentState.Active); var queryExpression = new QueryExpression {