Skip to content

Commit

Permalink
Add legacy prefix to StudyviewFilterMapper for mutationOption
Browse files Browse the repository at this point in the history
  • Loading branch information
haynescd committed Feb 6, 2025
1 parent b03fef5 commit f327fb9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@

<sql id="applyMutationDataFilter">
<!-- if the categorization is 'MUTATED' (pie chart) -->
<if test="mutationDataFilter.categorization == @org.cbioportal.web.parameter.MutationOption@MUTATED">
<if test="mutationDataFilter.categorization == @org.cbioportal.legacy.web.parameter.MutationOption@MUTATED">
WITH all_samples AS (
SELECT sample_unique_id
FROM sample_derived
Expand Down Expand Up @@ -704,7 +704,8 @@
</foreach>
</if>
<!-- if the categorization is 'MUTATION_TYPE' (table) -->
<if test="mutationDataFilter.categorization == @org.cbioportal.web.parameter.MutationOption@MUTATION_TYPE">
<if
test="mutationDataFilter.categorization == @org.cbioportal.legacy.web.parameter.MutationOption@MUTATION_TYPE">
<foreach item="dataFilterValues" collection="mutationDataFilter.values" separator="INTERSECT">
SELECT DISTINCT sample_unique_id
FROM genomic_event_derived
Expand Down

0 comments on commit f327fb9

Please sign in to comment.