-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passednon-issue
Description
Preconditions
- XAMPP, Windows 10
- Magento 2.1
Steps to reproduce
- Installed Magento 2.1 with Sample Data, no other extension installed. Except this custom module.
- The code, assuming the setCurPage increases each time
$categoryProducts = $categoryFactory->create()
->load($categoryId)
->getProductCollection()
->setPageSize(5)
->setCurPage(1);
- This category should have 10 products,
Page 1 -> 5 products shown
Page 2 -> 5 products shown
Page 3 -> Same products from Page 2.
Expected result
- Page 3 shouldn't have shown any products at all since there is only 10 products.
Actual result
- This category should have 10 products,
Page 1 -> 5 products shown
Page 2 -> 5 products shown
Page 3 -> Same products from Page 2.
korostii, vipinroy, giacmir, mikimpe and slackerzz
Metadata
Metadata
Assignees
Labels
Issue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passednon-issue