Prepopulate rq on reports pagination

This commit is contained in:
Nebbie Zebbie 2020-03-10 22:47:18 +00:00
parent aa7028c134
commit d69410d97e

View file

@ -1,5 +1,5 @@
- route = fn p -> Routes.admin_report_path(@conn, :index, p) end
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", route: route, page: @reports, conn: @conn, params: [rq: @conn.params["rq"]]
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", route: route, page: @reports, conn: @conn, params: [rq: @conn.params["rq"] || "*"]
h1 Reports