Preserve query in user search

This commit is contained in:
Nebbie Zebbie 2020-02-20 19:17:50 +00:00
parent 9c7bbc127b
commit 0b0ebc1745

View file

@ -10,7 +10,7 @@ h1 Users
=> link "2FA users", to: Routes.admin_user_path(@conn, :index, twofactor: 1) => link "2FA users", to: Routes.admin_user_path(@conn, :index, twofactor: 1)
- route = fn p -> Routes.admin_user_path(@conn, :index, p) end - route = fn p -> Routes.admin_user_path(@conn, :index, p) end
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @users, route: route, conn: @conn - pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @users, route: route, conn: @conn, params: [q: @conn.params["q"]]
.block .block
.block__header .block__header