From 2090584f4ec754d0237ed0505debd4ea6e833505 Mon Sep 17 00:00:00 2001 From: Jamie Briggs Date: Thu, 19 Dec 2024 16:44:28 +0000 Subject: [PATCH] Fix issue with NotificationSpecification Signed-off-by: Jamie Briggs --- .../repository/specification/NotificationSpecification.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-service/src/main/java/uk/gov/laa/ccms/data/repository/specification/NotificationSpecification.java b/data-service/src/main/java/uk/gov/laa/ccms/data/repository/specification/NotificationSpecification.java index 47d7957..65c4d4d 100644 --- a/data-service/src/main/java/uk/gov/laa/ccms/data/repository/specification/NotificationSpecification.java +++ b/data-service/src/main/java/uk/gov/laa/ccms/data/repository/specification/NotificationSpecification.java @@ -87,7 +87,7 @@ public static Specification withFilters( predicates.add(criteriaBuilder.equal(root.get("feeEarnerPartyId"), feeEarnerId)); } if (!includeClosed) { - predicates.add(criteriaBuilder.isTrue(root.get("isOpen"))); + predicates.add(criteriaBuilder.equal(root.get("isOpen"), "true")); } if (notificationType != null) { predicates.add(criteriaBuilder.equal(root.get("actionNotificationInd"), notificationType));