From 7da05f387c43be6e5ba5579a359be357fa41b6a6 Mon Sep 17 00:00:00 2001 From: Alex Boyd Date: Mon, 6 May 2024 14:39:44 -0400 Subject: [PATCH] Restore hidden field tag for advanced search submit (#554) --- app/views/advanced/_advanced_search_submit_btns.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/advanced/_advanced_search_submit_btns.html.erb b/app/views/advanced/_advanced_search_submit_btns.html.erb index 49f28987..1c1c0615 100644 --- a/app/views/advanced/_advanced_search_submit_btns.html.erb +++ b/app/views/advanced/_advanced_search_submit_btns.html.erb @@ -1,5 +1,7 @@
<%= link_to t('blacklight_advanced_search.form.start_over'), blacklight_advanced_search_engine.advanced_search_path, :class =>"btn-base gw-ghost-btn advanced-search-start-over" %> + <%= hidden_field_tag(:search_field, blacklight_config.advanced_search[:url_key]) %> + <%= submit_tag t('blacklight_advanced_search.form.search_btn'), :class=>'btn-base gw-btn advanced-search-submit', :id => "advanced-search-submit" %>
\ No newline at end of file