mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Apply search param remembering for pagination fix to ban search too
This commit is contained in:
parent
7473b92309
commit
d783417608
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
h1 Fingerprint Bans
|
h1 Fingerprint Bans
|
||||||
|
|
||||||
- route = fn p -> Routes.admin_fingerprint_ban_path(@conn, :index, p) end
|
- route = fn p -> Routes.admin_fingerprint_ban_path(@conn, :index, p) end
|
||||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @fingerprint_bans, route: route
|
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @fingerprint_bans, route: route, params: [q: @conn.params["q"]]
|
||||||
|
|
||||||
= form_for :fingerprint_ban, Routes.admin_fingerprint_ban_path(@conn, :index), [method: "get", class: "hform"], fn f ->
|
= form_for :fingerprint_ban, Routes.admin_fingerprint_ban_path(@conn, :index), [method: "get", class: "hform"], fn f ->
|
||||||
.field
|
.field
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
h1 Subnet Bans
|
h1 Subnet Bans
|
||||||
|
|
||||||
- route = fn p -> Routes.admin_subnet_ban_path(@conn, :index, p) end
|
- route = fn p -> Routes.admin_subnet_ban_path(@conn, :index, p) end
|
||||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @subnet_bans, route: route
|
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @subnet_bans, route: route, params: [q: @conn.params["q"]]
|
||||||
|
|
||||||
= form_for :subnet_ban, Routes.admin_subnet_ban_path(@conn, :index), [method: "get", class: "hform"], fn f ->
|
= form_for :subnet_ban, Routes.admin_subnet_ban_path(@conn, :index), [method: "get", class: "hform"], fn f ->
|
||||||
.field
|
.field
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
h1 User Bans
|
h1 User Bans
|
||||||
|
|
||||||
- route = fn p -> Routes.admin_user_ban_path(@conn, :index, p) end
|
- route = fn p -> Routes.admin_user_ban_path(@conn, :index, p) end
|
||||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @user_bans, route: route
|
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @user_bans, route: route, params: [q: @conn.params["q"]]
|
||||||
|
|
||||||
= form_for :user_ban, Routes.admin_user_ban_path(@conn, :index), [method: "get", class: "hform"], fn f ->
|
= form_for :user_ban, Routes.admin_user_ban_path(@conn, :index), [method: "get", class: "hform"], fn f ->
|
||||||
.field
|
.field
|
||||||
|
|
Loading…
Reference in a new issue