diff options
author | Jerry Lukins <lukins.3@osu.edu> | 2015-10-08 07:53:05 -0400 |
---|---|---|
committer | Jerry Lukins <lukinsj@yahoo.com> | 2015-10-10 09:04:45 -0400 |
commit | 78de79d779c1eb8b462fd1b5beb9f9e38bfb6f36 (patch) | |
tree | 6fc318594f65e745b18dc0edff5790d9e5d74f95 | |
parent | c789452134a163e984965bb1a2b9dbfab5821a9b (diff) | |
download | gitlab-ce-78de79d779c1eb8b462fd1b5beb9f9e38bfb6f36.tar.gz |
Persist filters when sorting on user admin page
-rw-r--r-- | app/views/admin/users/index.html.haml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index e3698ac1c46..97e4bb2fd73 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -54,19 +54,19 @@ %b.caret %ul.dropdown-menu %li - = link_to admin_users_path(sort: sort_value_name) do + = link_to admin_users_path(sort: sort_value_name, filter: params[:filter]) do = sort_title_name - = link_to admin_users_path(sort: sort_value_recently_signin) do + = link_to admin_users_path(sort: sort_value_recently_signin, filter: params[:filter]) do = sort_title_recently_signin - = link_to admin_users_path(sort: sort_value_oldest_signin) do + = link_to admin_users_path(sort: sort_value_oldest_signin, filter: params[:filter]) do = sort_title_oldest_signin - = link_to admin_users_path(sort: sort_value_recently_created) do + = link_to admin_users_path(sort: sort_value_recently_created, filter: params[:filter]) do = sort_title_recently_created - = link_to admin_users_path(sort: sort_value_oldest_created) do + = link_to admin_users_path(sort: sort_value_oldest_created, filter: params[:filter]) do = sort_title_oldest_created - = link_to admin_users_path(sort: sort_value_recently_updated) do + = link_to admin_users_path(sort: sort_value_recently_updated, filter: params[:filter]) do = sort_title_recently_updated - = link_to admin_users_path(sort: sort_value_oldest_updated) do + = link_to admin_users_path(sort: sort_value_oldest_updated, filter: params[:filter]) do = sort_title_oldest_updated = link_to 'New User', new_admin_user_path, class: "btn btn-new btn-sm" |