From 6ceb4aeaaaa741f4f60c7ec27d2bf2972ae773af Mon Sep 17 00:00:00 2001 From: Onur Sumer Date: Wed, 20 Nov 2024 18:20:44 -0500 Subject: [PATCH] check for non-numerical values in numerical clinical data count filter --- .../mybatisclickhouse/StudyViewFilterMapper.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml index d353819a301..ece38be5555 100644 --- a/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml +++ b/src/main/resources/org/cbioportal/persistence/mybatisclickhouse/StudyViewFilterMapper.xml @@ -374,6 +374,13 @@ + + AND ( + + + + ) ILIKE #{dataFilterValue.value} + AND match(attribute_value, '^>?=?[-+]?[0-9]*[.,]?[0-9]+$')