Skip to content

Commit

Permalink
Fix issue with NotificationSpecification
Browse files Browse the repository at this point in the history
Signed-off-by: Jamie Briggs <jamie.briggs@digital.justice.gov.uk>
  • Loading branch information
JamieBriggs-MoJ committed Dec 19, 2024
1 parent aad8c5a commit 2090584
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static Specification<Notification> 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));
Expand Down

0 comments on commit 2090584

Please sign in to comment.