diff --git a/CHANGELOG.md b/CHANGELOG.md index 11d8d27e34..77cdc3a79c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ useful summary for people upgrading their application, not a replication of the commit log. +## Unreleased + +* Layout super nav header: Correct URL for search form ([PR #4341](https://github.com/alphagov/govuk_publishing_components/pull/4341)) + ## 44.8.0 * Adjust chart component options ([PR #4342](https://github.com/alphagov/govuk_publishing_components/pull/4342)) diff --git a/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb b/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb index 1c87427d44..ef9dbc35b9 100644 --- a/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +++ b/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb @@ -299,29 +299,30 @@
- <% - form_attributes = { - event_name: "search", - type: "header menu bar", - section: "Search GOV.UK", - action: "search", - url: "/search/all", - index_section: 3, - index_section_count: 3, - }.to_json - %> - + <% end %>