mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Prepopulate default dupe report states selection in pagination
This commit is contained in:
parent
d09d77c0cd
commit
d56c5f2caa
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
h1 Duplicate Reports
|
||||
|
||||
- route = fn p -> Routes.duplicate_report_path(@conn, :index, p) end
|
||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @duplicate_reports, route: route, conn: @conn, params: [states: @conn.params["states"]]
|
||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @duplicate_reports, route: route, conn: @conn, params: [states: @conn.params["states"] || ["open", "claimed"]]
|
||||
|
||||
.block
|
||||
.block__header
|
||||
|
|
Loading…
Reference in a new issue