[BUGFIX] Fix indexed_search page browsing calculation 92/32992/2
authorMarkus Klein <klein.t3@reelworx.at>
Tue, 15 Jul 2014 17:30:24 +0000 (19:30 +0200)
committerMarkus Klein <klein.t3@reelworx.at>
Sat, 27 Sep 2014 10:19:01 +0000 (12:19 +0200)
commit905404fd432e1fd18507087b883ee7feba98e592
tree5c1554292151f35afe457591bbb1cb8d2bd9048e
parentd652601f7f23a21ae77aa4bda81eaf75fda5a4f6
[BUGFIX] Fix indexed_search page browsing calculation

Fix the calculation of pages shown by the indexed_search page browsers
to avoid negative page numbers or numbers exceeding the maximum available
page number.

Resolves: #60346
Releases: master, 6.2
Change-Id: I97de1c1afe42e29d450733f6741bca049f9803f6
Reviewed-on: http://review.typo3.org/32992
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/indexed_search/Classes/Controller/SearchFormController.php
typo3/sysext/indexed_search/Classes/ViewHelpers/PageBrowsingViewHelper.php
typo3/sysext/indexed_search/pi/locallang.xlf