summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-08-13 16:06:17 +0300
committerValery Sizov <vsv2711@gmail.com>2015-08-13 17:51:20 +0300
commite58e75aa8860c4c1530ebe7ad1e4bf557fa1e848 (patch)
tree2ece68684fde65d07f2e0075b78be1f8e0d02024 /app
parent00a33d67aa5dfcfbc63182106162041d2c60f4de (diff)
downloadgitlab-ce-e58e75aa8860c4c1530ebe7ad1e4bf557fa1e848.tar.gz
Fix: User search feature in admin area does not respect filtersrespect_filters
Diffstat (limited to 'app')
-rw-r--r--app/views/admin/users/index.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml
index b0d31170704..5e40d95d1c5 100644
--- a/app/views/admin/users/index.html.haml
+++ b/app/views/admin/users/index.html.haml
@@ -33,6 +33,7 @@
= form_tag admin_users_path, method: :get, class: 'form-inline' do
.form-group
= search_field_tag :name, params[:name], placeholder: 'Name, email or username', class: 'form-control'
+ = hidden_field_tag "filter", params[:filter]
= button_tag class: 'btn btn-primary' do
%i.fa.fa-search
%hr