mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
Preserve query in reports search
This commit is contained in:
parent
0b0ebc1745
commit
4ff514b4d6
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ h1 Your Reports
|
||||||
.block__header
|
.block__header
|
||||||
span.block__header__title Reports
|
span.block__header__title Reports
|
||||||
- route = fn p -> Routes.report_path(@conn, :index, p) end
|
- route = fn p -> Routes.report_path(@conn, :index, p) end
|
||||||
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @reports, route: route, conn: @conn
|
= render PhilomenaWeb.PaginationView, "_pagination.html", page: @reports, route: route, conn: @conn, params: [rq: @conn.params["rq"]]
|
||||||
|
|
||||||
.block__content
|
.block__content
|
||||||
table.table
|
table.table
|
||||||
|
@ -20,4 +20,4 @@ h1 Your Reports
|
||||||
= pretty_state(r)
|
= pretty_state(r)
|
||||||
td = link_to_reported_thing(@conn, r.reportable)
|
td = link_to_reported_thing(@conn, r.reportable)
|
||||||
td = r.reason
|
td = r.reason
|
||||||
td = pretty_time(r.created_at)
|
td = pretty_time(r.created_at)
|
||||||
|
|
Loading…
Reference in a new issue