mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-31 19:36:44 +01:00
Fix query preserving where it's actually used (staff)
This commit is contained in:
parent
4ff514b4d6
commit
3cbd80abc8
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
- pagination = render PhilomenaWeb.PaginationView, "_pagination.html", route: route, page: @reports, conn: @conn, params: [rq: @conn.params["rq"]]
|
||||
|
||||
h1 Reports
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ h1 Your Reports
|
|||
.block__header
|
||||
span.block__header__title Reports
|
||||
- route = fn p -> Routes.report_path(@conn, :index, p) end
|
||||
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @reports, route: route, conn: @conn, params: [rq: @conn.params["rq"]]
|
||||
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @reports, route: route, conn: @conn
|
||||
|
||||
.block__content
|
||||
table.table
|
||||
|
|
Loading…
Reference in a new issue