src/Adapter/Modifiers/EntityModifierByCurrentAction.php
protected function modifyBySearchController()
    {
        $page = Registry::getRequest()->getRequestEscapedParameter('pgNr');
        if (!$page) {
            $searchParamForLink = Registry::getRequest()->getRequestParameter('searchparam');
            $this->activePageEntity->setSearchQuery($searchParamForLink);
            $this->activePageEntity->setSearchNumberOfHits($this->searchDataProvider->getProductsCount());
        }
    }
protected function modifyBySearchController()
    {
        $page = Registry::getRequest()->getRequestEscapedParameter('pgNr');
        if (!$page) {
            $searchParamForLink = Registry::getRequest()->getRequestParameter('searchparam');
            $this->activePageEntity->setSearchQuery($searchParamForLink);
            $this->activePageEntity->setSearchNumberOfHits($this->searchDataProvider->getProductsCount());
        }
    }
Sets search page information to entity.
Only tracking first search page, not the following pages.
#4018: The emospro.search string is URL-encoded forwarded to econda instead of URL-escaped.