diff --git a/app/views/tasks/index.html.erb b/app/views/tasks/index.html.erb index 62b7657..68601d8 100644 --- a/app/views/tasks/index.html.erb +++ b/app/views/tasks/index.html.erb @@ -21,7 +21,7 @@ <% end %> -<%= form_tag '#', :method => 'get' do %> +<%= form_tag '#', :method => 'post' do %> <%= field_set_tag _('Filter'), :class => 'filter_fields' do %>
diff --git a/test/functional/tasks_controller_test.rb b/test/functional/tasks_controller_test.rb index bff4dff..4476f93 100644 --- a/test/functional/tasks_controller_test.rb +++ b/test/functional/tasks_controller_test.rb @@ -50,7 +50,7 @@ class TasksControllerTest < ActionController::TestCase login_as profile_admin.identifier #Perform a http request to 'search_task' action with params - get :search_tasks, :filter_type =>'ModerateUserRegistration', :filter_text => 'Fak' + post :search_tasks, :filter_type =>'ModerateUserRegistration', :filter_text => 'Fak' assert_response :success -- libgit2 0.21.2