Skip to content
Snippets Groups Projects
Commit 20e674ed authored by S.Listl's avatar S.Listl Committed by Sebastian Listl
Browse files

AttributeFilter fix for type BOOLEAN

(cherry picked from commit 3c22e393)
parent 05da2a02
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ AttributeFilterExtensionMaker.getFilterCondition = function(pObjectType, pFilter
var condition = pCondition;
if (attributeType == $AttributeTypes.BOOLEAN.toString())
condition = newWhere(["AB_ATTRIBUTERELATION", dbField], SqlUtils.escapeVars(pRawValue), pOperatorName == "LIKE" ? SqlBuilder.EQUAL() : SqlBuilder.NOT_EQUAL());
condition = newWhere(["AB_ATTRIBUTERELATION", dbField], SqlUtils.escapeVars(pRawValue), pOperatorName == "=" ? SqlBuilder.EQUAL() : SqlBuilder.NOT_EQUAL());
else
{
condition = pCondition.replace(pColumnPlaceholder, dbField, "g");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment