diff --git a/app/views/filters/menu/_collections.html.erb b/app/views/filters/menu/_collections.html.erb index 0375ff705..8a3e0402a 100644 --- a/app/views/filters/menu/_collections.html.erb +++ b/app/views/filters/menu/_collections.html.erb @@ -1,7 +1,7 @@ -<%= form_with url: user_filtering.self_filter_path, method: :get, class: "display-contents", +<% # Using method: :get inside Turbo frame triggers some special Turbo handling where the script_name is lost %> +<%= form_with url: user_filtering.self_filter_path(script_name: Account.sole.slug), method: :get, class: "display-contents", data: { controller: "form" } do |form| %> <% if user_filtering.collections.any? %> -