Skip to content

Commit

Permalink
Merge pull request #156 from Nosto/release/4.0.3
Browse files Browse the repository at this point in the history
Release/4.0.3
  • Loading branch information
dairbuirabass authored Mar 24, 2022
2 parents cba54b2 + ddcdb0e commit 19ea24a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

### 4.0.3
* Fix GraphQl response when querying the same page more than once

### 4.0.2
* Fix pagination when CM is disabled

Expand Down
2 changes: 1 addition & 1 deletion Model/Service/Merchandise/RequestParamsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public function createRequestParams(FacetInterface $facets, $pageNumber, $limit)
$batchModel = $this->resultSessionService->getBatchModel();
if ($batchModel != null
&& ($batchModel->getLastUsedLimit() == $limit)
&& ($batchModel->getLastFetchedPage() == $pageNumber)) {
&& ($batchModel->getLastFetchedPage() == $pageNumber - 1)) {
$token = $batchModel->getBatchToken();
}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nosto/module-nostocmp",
"description": "Nosto Category Merchandising extension for Magento 2",
"type": "magento2-module",
"version": "4.0.2",
"version": "4.0.3",
"require-dev": {
"magento-ecg/coding-standard": "3.*",
"magento/module-store": "101.1.2",
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<!--suppress XmlUnboundNsPrefix -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Nosto_Cmp" setup_version="4.0.2">
<module name="Nosto_Cmp" setup_version="4.0.3">
<sequence>
<module name="Nosto_Tagging"/>
</sequence>
Expand Down

0 comments on commit 19ea24a

Please sign in to comment.