Skip to content

Commit e975681

Browse files
committed
MC-32278: Position sort does not work in GraphQl.
- fix method call
1 parent 55280a6 commit e975681

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogGraphQl/Model/Resolver/Products/DataProvider/ProductSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function getList(
9898
$collection = $this->collectionFactory->create();
9999

100100
//Create a copy of search criteria without filters to preserve the results from search
101-
$searchCriteriaForCollection = $this->searchCriteriaBuilder->process($searchCriteria);
101+
$searchCriteriaForCollection = $this->searchCriteriaBuilder->build($searchCriteria);
102102
//Apply CatalogSearch results from search and join table
103103
$this->getSearchResultsApplier(
104104
$searchResult,

0 commit comments

Comments
 (0)