mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Preserve query in user search
This commit is contained in:
parent
9c7bbc127b
commit
0b0ebc1745
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ h1 Users
|
|||
=> link "2FA users", to: Routes.admin_user_path(@conn, :index, twofactor: 1)
|
||||
|
||||
- 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__header
|
||||
|
|
Loading…
Reference in a new issue