From 6c0f474cc422f92cc3aad8c87247a093905ff14b Mon Sep 17 00:00:00 2001 From: Luke Sikina Date: Thu, 18 Jul 2024 10:24:28 -0400 Subject: [PATCH] asdfoo --- .../dbmi/avillach/dictionary/facet/FacetRepository.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/edu/harvard/dbmi/avillach/dictionary/facet/FacetRepository.java b/src/main/java/edu/harvard/dbmi/avillach/dictionary/facet/FacetRepository.java index 5b709e2..7283805 100644 --- a/src/main/java/edu/harvard/dbmi/avillach/dictionary/facet/FacetRepository.java +++ b/src/main/java/edu/harvard/dbmi/avillach/dictionary/facet/FacetRepository.java @@ -1,21 +1,15 @@ package edu.harvard.dbmi.avillach.dictionary.facet; import edu.harvard.dbmi.avillach.dictionary.filter.Filter; -import edu.harvard.dbmi.avillach.dictionary.filter.FilterQueryGenerator; -import edu.harvard.dbmi.avillach.dictionary.filter.QueryParamPair; import edu.harvard.dbmi.avillach.dictionary.util.MapExtractor; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.data.domain.Pageable; import org.springframework.jdbc.core.namedparam.MapSqlParameterSource; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; import org.springframework.stereotype.Repository; -import org.springframework.util.CollectionUtils; -import org.springframework.util.StringUtils; import java.util.List; import java.util.Map; import java.util.Optional; -import java.util.stream.Collectors; @Repository public class FacetRepository { @@ -46,7 +40,7 @@ WITH facet_counts_q AS ( SELECT facet_category.name AS category_name, parent_facet.name AS parent_name, - facet_count_q.facet_count AS facet_count, + facet_counts_q.facet_count AS facet_count, facet_category.display as category_display, facet_category.description as category_description, facet.name, facet.display, facet.description