Skip to content

Commit

Permalink
All content finder UI: Persist feature flag query param
Browse files Browse the repository at this point in the history
This will make it easier for the team to test the new UI in production
by persisting the feature flag query parameter across form submissions.

We can remove this once the new UI is live.
  • Loading branch information
csutter committed Oct 4, 2024
1 parent 393f4c1 commit 522c405
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/finders/show_all_content_finder.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

<form method="get" action="<%= content_item.base_path %>" data-ga4-change-category="clear-all-filters">
<%= hidden_field_tag :parent, @parent if @parent.present? %>
<%= hidden_field_tag :enable_new_all_content_finder_ui, params[:enable_new_all_content_finder_ui] if params[:enable_new_all_content_finder_ui].present? %>

<div class="govuk-width-container">
<%= render 'govuk_publishing_components/components/contextual_breadcrumbs', content_item: content_item.as_hash %>
Expand Down

0 comments on commit 522c405

Please sign in to comment.