Skip to content

Commit

Permalink
fix double encoded &
Browse files Browse the repository at this point in the history
  • Loading branch information
cradeck committed Jul 31, 2023
1 parent e1c47d0 commit 5ffd0ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Classes/ViewHelpers/Find/FacetLinkArgumentsViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,11 @@ public static function renderStatic(
$result[] = 'tx_find_find[page]';
} elseif ('add' === $mode) {
$result['facet'] = [
$facetID => [str_replace('&','%26', $facetTerm) => 1],
$facetID => [$facetTerm => 1]
];
if ($arguments['modifier']) {
$result['facet'][$facetID][str_replace('&','%26', $facetTerm)] = $arguments['modifier'];
}
if ($arguments['modifier']) {
$result['facet'][$facetID][$facetTerm] = $arguments['modifier'];
}
}

return $result;
Expand Down

0 comments on commit 5ffd0ec

Please sign in to comment.