Skip to content
This repository has been archived by the owner on Dec 19, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1 from textarea/textarea-patch-1
Browse files Browse the repository at this point in the history
Missing setTotalCount on $searchResults object in getList method
  • Loading branch information
textarea authored Dec 11, 2018
2 parents f77f96b + 0a2330a commit eb62681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Vault/Model/PaymentTokenRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getList(\Magento\Framework\Api\SearchCriteriaInterface $searchCr
$searchResults = $this->searchResultsFactory->create();
$searchResults->setSearchCriteria($searchCriteria);
$searchResults->setItems($collection->getItems());

$searchResults->setTotalCount($collection->getSize());
return $searchResults;
}

Expand Down

0 comments on commit eb62681

Please sign in to comment.