diff --git a/src/main/java/edu/harvard/dbmi/avillach/dictionary/concept/ConceptRepository.java b/src/main/java/edu/harvard/dbmi/avillach/dictionary/concept/ConceptRepository.java index c636800..97594b0 100644 --- a/src/main/java/edu/harvard/dbmi/avillach/dictionary/concept/ConceptRepository.java +++ b/src/main/java/edu/harvard/dbmi/avillach/dictionary/concept/ConceptRepository.java @@ -21,8 +21,8 @@ public class ConceptRepository { private static final String ALLOW_FILTERING_Q = """ WITH allow_filtering AS ( SELECT - concept_node.concept_node_id AS concept_node_id, - (string_agg(concept_node_meta.value, ' ') NOT LIKE '%yes%') AS allowFiltering + concept_node.concept_path AS concept_path, + (string_agg(concept_node_meta.value, ' ') NOT LIKE '%true%') AS allowFiltering FROM concept_node JOIN concept_node_meta ON diff --git a/src/main/resources/application-bdc.properties b/src/main/resources/application-bdc.properties index 74f23cc..00405c0 100644 --- a/src/main/resources/application-bdc.properties +++ b/src/main/resources/application-bdc.properties @@ -7,4 +7,4 @@ server.port=80 dashboard.enable.extra_details=true -filtering.unfilterable_concepts=stigmatizing \ No newline at end of file +filtering.unfilterable_concepts=stigmatized \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e3e984b..0c71723 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -11,4 +11,4 @@ dashboard.nonmeta-columns=abbreviation,name dashboard.enable.extra_details=true dashboard.enable.bdc_hack=true -filtering.unfilterable_concepts=stigmatizing +filtering.unfilterable_concepts=stigmatized diff --git a/src/test/resources/application.properties b/src/test/resources/application.properties index e030ee1..8fb1863 100644 --- a/src/test/resources/application.properties +++ b/src/test/resources/application.properties @@ -11,4 +11,4 @@ dashboard.nonmeta-columns=abbreviation,name dashboard.enable.extra_details=true dashboard.enable.bdc_hack=false -filtering.unfilterable_concepts=stigmatizing \ No newline at end of file +filtering.unfilterable_concepts=stigmatized