Skip to content

Commit

Permalink
UHF-11057: Use different address param key for view-based searches
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremysteerio committed Jan 23, 2025
1 parent 3665914 commit 4694e6b
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ public function content(Request $request) : array|RedirectResponse {
* Render array.
*/
public function buildServiceGroups(string $addressName) : array {
$addressQuery = ['address' => urlencode($addressName)];
$viewsAddressQuery = ['address_search' => urlencode($addressName)];
$addressQuery = ['address' => $addressName];
$viewsAddressQuery = ['address_search' => $addressName];

return [
[
Expand Down Expand Up @@ -255,7 +255,6 @@ protected function getInternalSearchLink(
array $query,
) : string {
$langcode = $this->languageManager()->getCurrentLanguage()->getId();
$query = ['address' => $address];
$url = Url::fromUri(
$link->getLinkTranslations()[$langcode],
['query' => $query],
Expand Down

0 comments on commit 4694e6b

Please sign in to comment.