Skip to content

Commit

Permalink
do not normalize attribute value if not NA
Browse files Browse the repository at this point in the history
  • Loading branch information
onursumer authored and alisman committed Nov 25, 2024
1 parent 9075f37 commit 17a5dad
Showing 1 changed file with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,8 @@
such as "UNKNOWN", "NOT COLLECTED", "NOT RELEASED", etc.
-->
<if test="dataFilterValue.value != null">
AND (
<include refid="normalizeAttributeValue">
<property name="attribute_value" value="${attribute_value}"/>
</include>
) ILIKE #{dataFilterValue.value}
AND
${attribute_value} ILIKE #{dataFilterValue.value}
</if>
<!--
Special case: Numerical range values such as <18, >=90, etc.
Expand Down Expand Up @@ -481,11 +478,7 @@
</include> = 'NA'
</when>
<otherwise>
(
<include refid="normalizeAttributeValue">
<property name="attribute_value" value="attribute_value"/>
</include>
) ILIKE #{dataFilterValue.value}
attribute_value ILIKE #{dataFilterValue.value}
</otherwise>
</choose>
</foreach>
Expand Down Expand Up @@ -612,11 +605,7 @@
</include> = 'NA'
</when>
<otherwise>
(
<include refid="normalizeAttributeValue">
<property name="attribute_value" value="value"/>
</include>
) ILIKE #{dataFilterValue.value}
value ILIKE #{dataFilterValue.value}
</otherwise>
</choose>
</foreach>
Expand Down

0 comments on commit 17a5dad

Please sign in to comment.