src/FACTFinder/Adapter/Search.php
public function getFollowSearchValue()
    {
        $jsonData = $this->getResponseContent();
        //use searchParams of result if available
        if ($this->isValidResponse($jsonData) && isset($jsonData['searchResult']['searchParams'])) {
            $parameters = FF::getInstance(
                'Util\Parameters',
                $jsonData['searchResult']['searchParams']
            );
        //fallback to current request
        } else {
            $parameters = $this->parameters;
        }
        $searchParameters = FF::getInstance(
            'Data\SearchParameters',
            $parameters
        );
        $sorting = $searchParameters->getSortings();
        // check if followSearch was set in request data or sent by FF in result searchParams
        if($searchParameters->getFollowSearch() !== 0) {
            $followSearch =  $searchParameters->getFollowSearch();
        // use simiFirstRecord only if result was not sorted
        } elseif (empty($sorting)) {
            $jsonData = $this->getResponseContent();
            if($jsonData && $jsonData['searchResult'] && isset($jsonData['searchResult']['simiFirstRecord']))
                $followSearch = $jsonData['searchResult']['simiFirstRecord'];
        //mark as not valid
        } else {
            $followSearch = 0;
        }
        return $followSearch;
    }
public function getFollowSearchValue()
    {
        $jsonData = $this->getResponseContent();
        //use searchParams of result if available
        if ($this->isValidResponse($jsonData) && isset($jsonData['searchResult']['searchParams'])) {
            $parameters = FF::getInstance(
                'Util\Parameters',
                $jsonData['searchResult']['searchParams']
            );
        //fallback to current request
        } else {
            $parameters = $this->parameters;
        }
        $searchParameters = FF::getInstance(
            'Data\SearchParameters',
            $parameters
        );
        $sorting = $searchParameters->getSortings();
        // check if followSearch was set in request data or sent by FF in result searchParams
        if($searchParameters->getFollowSearch() !== 0) {
            $followSearch =  $searchParameters->getFollowSearch();
        // use simiFirstRecord only if result was not sorted
        } elseif (empty($sorting)) {
            $jsonData = $this->getResponseContent();
            if($jsonData && $jsonData['searchResult'] && isset($jsonData['searchResult']['simiFirstRecord']))
                $followSearch = $jsonData['searchResult']['simiFirstRecord'];
        //mark as not valid
        } else {
            $followSearch = 0;
        }
        return $followSearch;
    }
Value for parameter "followSearch" for followups on initial search like filters, pagination, ...
Either from search results searchParams, request parameters or from search results "simiFirstRecord".
Returns 0 if no parameter "followSearch" could be acquired.

@return int