Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #3326353 by jcmartinez: (v 3.2) Commerce facets break pager aft… #847

Merged
merged 6 commits into from
Jan 16, 2024

Conversation

Rashi89
Copy link
Contributor

@Rashi89 Rashi89 commented Dec 5, 2023

…er updating to 3.1

@js-droptica js-droptica changed the base branch from develop to 3.3.x December 18, 2023 15:01
@@ -38,6 +38,10 @@ public function buildUrls(FacetInterface $facet, array $results) {
$view = Views::getView($attributes->get('view_id'));
$view->setDisplay($attributes->get('display_id'));
$view->setArguments($result->getUrl()->getRouteParameters());
$url = $result->getUrl();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As i can see, you can do it at the beginning of the foreach and replace all occurrences of the $result->getUrl()

@js-droptica js-droptica merged commit 4ed5b9e into 3.3.x Jan 16, 2024
2 checks passed
@js-droptica js-droptica deleted the ISSUE-3326353-commerce-facets branch January 16, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants