Commit 7a58883e authored by GoshaZotov's avatar GoshaZotov

fix bug 33225

parent 3d56d43d
...@@ -6190,7 +6190,6 @@ CustomFilter.prototype.isHideValue = function(val) { ...@@ -6190,7 +6190,6 @@ CustomFilter.prototype.isHideValue = function(val) {
{ {
var isNumberFilter = this.Operator == c_oAscCustomAutoFilter.isGreaterThan || this.Operator == c_oAscCustomAutoFilter.isGreaterThanOrEqualTo || this.Operator == c_oAscCustomAutoFilter.isLessThan || this.Operator == c_oAscCustomAutoFilter.isLessThanOrEqualTo; var isNumberFilter = this.Operator == c_oAscCustomAutoFilter.isGreaterThan || this.Operator == c_oAscCustomAutoFilter.isGreaterThanOrEqualTo || this.Operator == c_oAscCustomAutoFilter.isLessThan || this.Operator == c_oAscCustomAutoFilter.isLessThanOrEqualTo;
if(c_oAscCustomAutoFilter.equals === this.Operator || c_oAscCustomAutoFilter.doesNotEqual === this.Operator) if(c_oAscCustomAutoFilter.equals === this.Operator || c_oAscCustomAutoFilter.doesNotEqual === this.Operator)
{ {
filterVal = isNaN(this.Val) ? this.Val.toLowerCase() : this.Val; filterVal = isNaN(this.Val) ? this.Val.toLowerCase() : this.Val;
...@@ -6199,10 +6198,10 @@ CustomFilter.prototype.isHideValue = function(val) { ...@@ -6199,10 +6198,10 @@ CustomFilter.prototype.isHideValue = function(val) {
{ {
if(isNaN(this.Val)) if(isNaN(this.Val))
{ {
return !result; filterVal = this.Val;
} }
else else
{ {
filterVal = parseFloat(this.Val); filterVal = parseFloat(this.Val);
val = parseFloat(val); val = parseFloat(val);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment