diff --git a/src/main/java/edu/harvard/dbmi/avillach/dictionary/filter/FilterQueryGenerator.java b/src/main/java/edu/harvard/dbmi/avillach/dictionary/filter/FilterQueryGenerator.java index 2c6b274..48bac15 100644 --- a/src/main/java/edu/harvard/dbmi/avillach/dictionary/filter/FilterQueryGenerator.java +++ b/src/main/java/edu/harvard/dbmi/avillach/dictionary/filter/FilterQueryGenerator.java @@ -67,7 +67,7 @@ WITH q AS (%s) SELECT concept_node_id FROM q GROUP BY concept_node_id ORDER BY s """; - return new QueryParamPair(query, params); + return new QueryParamPair(superQuery, params); } private String createSearchFilter(String search, MapSqlParameterSource params) {