From 3cee462b672632787070e41fc62a6114f4fd2397 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sun, 20 Mar 2022 22:16:11 +0000 Subject: [PATCH] Fix that @tracker_ids[]@ field is rendered multiple time. Add some assertions to @test_index@ (#6432). git-svn-id: http://svn.redmine.org/redmine/trunk@21482 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/versions/_sidebar.html.erb | 2 +- test/functional/versions_controller_test.rb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/versions/_sidebar.html.erb b/app/views/versions/_sidebar.html.erb index 0eb517c24..aecb7d131 100644 --- a/app/views/versions/_sidebar.html.erb +++ b/app/views/versions/_sidebar.html.erb @@ -1,9 +1,9 @@ <%= form_tag({}, :method => :get) do %> +<%= hidden_field_tag "tracker_ids[]", nil, :id => nil %>

<%= l(:label_roadmap) %>