Issue Bug Closed

#43301resultsPerPage variable instead of numberOfResults

Alexey Gafiulov 11/26/12, 14:35 updated 10/02/18, 12:14

Description

IndexSearchRepository.php file contains wrong referring to variable “resultsPerPage” on line 171:

// The pointer is set to the result page that is currently being viewed
$pointer = t3lib_div::intInRange($this->resultpagePointer, 0, floor($count / $this->resultsPerPage));

Property resultsPerPage is not existing in this class, $this->numberOfResults should be used instead.

As a result, none of pages after the first one could not be viewed.

Reviews 1