diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index a3d512b5d..36e57de5a 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -329,7 +329,7 @@ class UsersController < ApplicationController when 'xml', 'json' @offset, @limit = api_offset_and_limit({:limit => 15}) else - @limit = 15#per_page_option + @limit = 15#per_page_option end @status = params[:status] || 1 diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 27e601a5f..ef46c0a5f 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -1,6 +1,18 @@ + +
- <%= form_tag(:controller => 'users', :action => 'search', :method => :get) do %> + <%= form_tag( users_search_path, :method => :get, :id => 'search_user_form') do %> @@ -9,8 +21,9 @@ diff --git a/app/views/users/search.html.erb b/app/views/users/search.html.erb index 307803b1d..98becc197 100644 --- a/app/views/users/search.html.erb +++ b/app/views/users/search.html.erb @@ -1,7 +1,17 @@ - +
- <%= form_tag(:controller => 'users', :action => 'search', :method => :get) do %> + <%= form_tag( users_search_path, :method => :get, :id => 'search_user_form') do %>
<%= l(:label_software_user ) %>
@@ -10,8 +20,9 @@
<%= l(:label_software_user ) %>