View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006171 | OXID eShop (all versions) | 1.08. Listmania, Notice list, Gift registry | public | 2015-06-16 10:36 | 2016-06-09 12:08 |
| Reporter | michael_keiluweit | Assigned To | |||
| Priority | low | Severity | trivial | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.9.4 / 5.2.4 | ||||
| Fixed in Version | 4.10.0 / 5.3.0 | ||||
| Summary | 0006171: Wrong list behavior during reaching the last page numbers | ||||
| Description | Scenario: A category with 16 pages. If one of the four first numbers is clicked (highlighted), the pattern of the page numbers is like this: 1 2 3 [4] 5 ... 16 If the page number 5 is clicked, the pattern changes as following: 1 ... 4 [5] 6 ... 16 At the end of the page number list the behavior is nearly the same: Current: 1 ... [12] 13 14 15 16 Should be: 1 ... 11 [12] 13 ... 16 1 ... 12 [13] 14 15 16 In the attached picture you can see the wrong behavior in the middle screenshot on the right side. | ||||
| Steps To Reproduce |
Reproduced in 5.0.14, 5.1.9, 5.2.3 and 5.2.4 | ||||
| Additional Information | Solution Edit method oxUBase::generatePageNavigation() Search the line: } elseif ($pageNavigation->actPage >= $pageNavigation->NrOfPages - $iTmpVal) { Replace it with: } elseif ($pageNavigation->actPage >= $pageNavigation->NrOfPages - $iTmpVal + 1) { | ||||
| Tags | Solution Provided | ||||
| Attached Files | |||||
| Theme | Azure | ||||
| Browser | All | ||||
| PHP Version | 5.3 | ||||
| Database Version | 5.5 | ||||
|
|
https://github.com/OXID-eSales/oxideshop_ce/pull/392 |
|
|
Thank you. Used the solution provided in description. The solution merged to master and 5.3 branch. |