Project

General

Profile

Actions

Bug #43301

closed

resultsPerPage variable instead of numberOfResults

Added by Alexey Gafiulov over 11 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2012-11-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #54808: IndexedSearch Repository uses wrong property to calculate current page ($pointer)Closed2014-01-07

Actions
Actions

Also available in: Atom PDF