#54808IndexedSearch Repository uses wrong property to calculate current page ($pointer)
Description
In the IndexedSearchRepository on line 157 an undefined/unused property $this->resultsPerPage is used for the calculation of the current page the visitor is showing on search results.
Instead of using $this->resultsPerPage we have to use $this->numberOfResults which is defined and contains the expected setting.