From 865cf260c87f93de136818e0b72a8aae40314350 Mon Sep 17 00:00:00 2001 From: Luke Sikina Date: Tue, 24 Sep 2024 10:19:32 -0400 Subject: [PATCH] [ALS-7384] Fix consent null check --- .../dbmi/avillach/dictionary/dashboard/DashboardRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java b/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java index 8782c96..077b301 100644 --- a/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java +++ b/src/main/java/edu/harvard/dbmi/avillach/dictionary/dashboard/DashboardRepository.java @@ -71,7 +71,7 @@ public List> getHackyBDCRows() { END AS samples, CASE - WHEN consent.consent_code <> NULL THEN concat(study_accession_meta.value, '.', consent.consent_code) + WHEN consent.consent_code IS NOT NULL THEN concat(study_accession_meta.value, '.', consent.consent_code) ELSE study_accession_meta.value END AS accession,