Skip to content

Commit 3afebab

Browse files
author
Joan He
committed
MC-20250: Advanced search causes exception
1 parent 3ee05a4 commit 3afebab

File tree

1 file changed

+1
-0
lines changed
  • app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced

1 file changed

+1
-0
lines changed

app/code/Magento/CatalogSearch/Model/ResourceModel/Advanced/Collection.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ private function getSearchResultApplier(SearchResultInterface $searchResult): Se
393393
/** This variable sets by serOrder method, but doesn't have a getter method. */
394394
'orders' => $this->_orders,
395395
'size' => $this->getPageSize(),
396+
'currentPage' => (int)$this->_curPage,
396397
]
397398
);
398399
}

0 commit comments

Comments
 (0)