Commit 01b3ed5d authored by Alexander Trofimov's avatar Alexander Trofimov

Merge pull request #8 from ONLYOFFICE/hotfix/clear-filter

fix #32237
parents ec8d1f59 8d1ad5c0
......@@ -1481,11 +1481,10 @@
}
}
if(worksheet.AutoFilter && (worksheet.AutoFilter.isApplyAutoFilter() || worksheet.AutoFilter.isApplySortConditions()))
{
if(clean)
{
this._cleanFilterColumnsAndSortState(worksheet.AutoFilter, activeCell);
if (worksheet.AutoFilter &&
(worksheet.AutoFilter.isApplyAutoFilter() || worksheet.AutoFilter.isApplySortConditions())) {
if (clean) {
return this._cleanFilterColumnsAndSortState(worksheet.AutoFilter, activeCell);
}
}
......
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