mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-23 16:49:29 +00:00
Issue #5 - Refactor autoFilter range into an autofilter class in
preparation for adding support for autofilter expressions
This commit is contained in:
@@ -312,8 +312,8 @@ class PHPExcel_ReferenceHelper
|
||||
|
||||
|
||||
// Update worksheet: autofilter
|
||||
if ($pSheet->getAutoFilter() != '') {
|
||||
$pSheet->setAutoFilter( $this->updateCellReference($pSheet->getAutoFilter(), $pBefore, $pNumCols, $pNumRows) );
|
||||
if ($pSheet->getAutoFilter()->getRange() !== '') {
|
||||
$pSheet->setAutoFilter( $this->updateCellReference($pSheet->getAutoFilter()->getRange(), $pBefore, $pNumCols, $pNumRows) );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user