Commit e58e75aa authored by Valery Sizov's avatar Valery Sizov

Fix: User search feature in admin area does not respect filters

parent 00a33d67
...@@ -55,6 +55,7 @@ v 7.14.0 (unreleased) ...@@ -55,6 +55,7 @@ v 7.14.0 (unreleased)
- Add dropzone upload progress - Add dropzone upload progress
- Add a label for merged branches on branches page (Florent Baldino) - Add a label for merged branches on branches page (Florent Baldino)
- Detect .mkd and .mkdn files as markdown (Ben Boeckel) - Detect .mkd and .mkdn files as markdown (Ben Boeckel)
- Fix: User search feature in admin area does not respect filters
v 7.13.5 v 7.13.5
- Satellites reverted - Satellites reverted
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
= form_tag admin_users_path, method: :get, class: 'form-inline' do = form_tag admin_users_path, method: :get, class: 'form-inline' do
.form-group .form-group
= search_field_tag :name, params[:name], placeholder: 'Name, email or username', class: 'form-control' = 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 = button_tag class: 'btn btn-primary' do
%i.fa.fa-search %i.fa.fa-search
%hr %hr
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment