Skip to content

Commit

Permalink
Merge pull request #82 from Nosto/SSP-121_campingshop_issue_with_disp…
Browse files Browse the repository at this point in the history
…laying_the_number_of_results_from_a_search_v4

SSP-121 Campingshop: issue with displaying the number of results from a search v4
  • Loading branch information
Bibarella authored Oct 14, 2024
2 parents 5ec91d2 + 58ee1c4 commit 9a4de28
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Resources/snippet/de_DE/storefront.de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"value": "Nosto Cookies",
"description": "Ermöglicht die Identifizierung des Benutzers, wenn er nicht angemeldet ist!"
}
},
"search": {
"headlineText": "%count% Suchergebnisse für \"%searchTerm%\" "
}
}
3 changes: 3 additions & 0 deletions src/Resources/snippet/en_GB/storefront.en-GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
"value": "Nosto Cookies",
"description": "Allow to identify the user when not logged in!"
}
},
"search": {
"headlineText": "%count% Search results for \"%searchTerm%\" "
}
}
2 changes: 1 addition & 1 deletion src/Resources/views/storefront/page/search/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
: page.listing.criteria.extensions.nostoPagination.total
%}
{% if hits %}
{{ "search.headline"|trans({
{{ "search.headlineText"|trans({
'%count%': hits,
'%searchTerm%': page.searchTerm,
}) }}
Expand Down

0 comments on commit 9a4de28

Please sign in to comment.