Commit a0296f1f authored by GoshaZotov's avatar GoshaZotov

fix bug 33738

parent 1d0c8554
...@@ -6260,10 +6260,7 @@ AutoFilter.prototype.isShowButton = function() ...@@ -6260,10 +6260,7 @@ AutoFilter.prototype.isShowButton = function()
AutoFilter.prototype.getRangeWithoutHeaderFooter = function() AutoFilter.prototype.getRangeWithoutHeaderFooter = function()
{ {
var startRow = this.HeaderRowCount === null ? this.Ref.r1 + 1 : this.Ref.r1; return Asc.Range(this.Ref.c1, this.Ref.r1 + 1, this.Ref.c2, this.Ref.r2);
var endRow = this.TotalsRowCount ? this.Ref.r2 - 1 : this.Ref.r2;
return Asc.Range(this.Ref.c1, startRow, this.Ref.c2, endRow);
}; };
AutoFilter.prototype._getFilterColumnByColId = function(colId) AutoFilter.prototype._getFilterColumnByColId = function(colId)
......
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