Skip to content

Commit

Permalink
Merge pull request #102 from findify/bug/product_matches_and_view_all…
Browse files Browse the repository at this point in the history
…_url_encoded

added fix for URL
  • Loading branch information
wolff95 authored Aug 21, 2024
2 parents cc72be6 + 20c21ca commit dce9ee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sections/findify-autocomplete.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
href="/{{ basepath }}?q={{ suggestion }}"
data-findify-suggestion
>
{{ formattedSuggestion }}
{{ formattedSuggestion | url_decode }}
</a>
</li>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion snippets/findify-autocomplete-content-block.liquid
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{%- if contents_param != 'none' -%}
{%- if content != null and content != 'none' -%}
<div class="findify-autocomplete-content-wrapper">
{% assign contentArray = content | split: '~' %}
{% assign content_id = contentArray[0] %}
Expand Down
2 changes: 1 addition & 1 deletion snippets/findify-autocomplete-view-all.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{%- else -%}
<label>
{{ 'findify.autocomplete.view_all_results_for' | t }}
<span class="findify-components-autocomplete--tip__highlight">"{{ query }}"</span>
<span class="findify-components-autocomplete--tip__highlight">"{{ query | url_decode }}"</span>
</label>
{%- endif -%}
</div>
Expand Down

0 comments on commit dce9ee6

Please sign in to comment.