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

Commit

Permalink
Merge pull request #186 from EmicoEcommerce/feat/issue-185
Browse files Browse the repository at this point in the history
Clear collection to retrieve fresh data after modifications for ajax pagination bug fix was implemented
  • Loading branch information
Hnto authored Oct 20, 2021
2 parents c1b9cfe + a1b162c commit 10a8f1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Model/Catalog/Layer/ItemCollectionProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ public function getCollection(Category $category)
->create(['navigationContext' => $this->navigationContext->resetPagination()])
;
}

$collection->clear();

return $collection;
} catch (TweakwiseException $e) {
Expand Down

0 comments on commit 10a8f1b

Please sign in to comment.