source/Application/Model/Article.php
public function hasSortingFieldsChanged()
    {
        $aSortingFields = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aSortCols');
        $aSortingFields = !empty($aSortingFields) ? (array) $aSortingFields : [];
        $blChanged = false;
        foreach ($aSortingFields as $sField) {
            $sParameterName = 'oxarticles__' . $sField;
            $currentValueOfField = $this->$sParameterName instanceof Field ? $this->$sParameterName->value : '';
            $valueOfFieldOnLoad = $this->_aSortingFieldsOnLoad[$sParameterName] ?? null;
            if ($valueOfFieldOnLoad !== $currentValueOfField) {
                $blChanged = true;
                break;
            }
        }

        return $blChanged;
    }
public function hasSortingFieldsChanged()
    {
        $aSortingFields = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('aSortCols');
        $aSortingFields = !empty($aSortingFields) ? (array) $aSortingFields : [];
        $blChanged = false;
        foreach ($aSortingFields as $sField) {
            $sParameterName = 'oxarticles__' . $sField;
            $currentValueOfField = $this->$sParameterName instanceof Field ? $this->$sParameterName->value : '';
            $valueOfFieldOnLoad = $this->_aSortingFieldsOnLoad[$sParameterName] ?? null;
            if ($valueOfFieldOnLoad !== $currentValueOfField) {
                $blChanged = true;
                break;
            }
        }

        return $blChanged;
    }
public function hasSortingFieldsChanged ( ) { $ aSortingFields = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'aSortCols' ) ; $ aSortingFields = ! empty ( $ aSortingFields ) ? ( array ) $ aSortingFields : [ ] ; $ blChanged = false ; foreach ( $ aSortingFields as $ sField ) { $ sParameterName = 'oxarticles__' . $ sField ; $ currentValueOfField = $ this -> $ sParameterName instanceof Field ? $ this -> $ sParameterName -> value : '' ; $ valueOfFieldOnLoad = $ this -> _aSortingFieldsOnLoad [ $ sParameterName ] ?? null ; if ( $ valueOfFieldOnLoad !== $ currentValueOfField ) { $ blChanged = true ; break ; } } return $ blChanged ; }
Checks whether sorting fields changed from last article loading.

@return bool
Checks whether sorting fields changed from last article loading .