mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 22:27:59 +01:00
Preserve commission map parameter in commission search
This commit is contained in:
parent
932eff86cd
commit
da7982d2dd
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
elixir:
|
||||
route = fn p -> Routes.commission_path(@conn, :index, p) end
|
||||
pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @commissions, route: route, conn: @conn
|
||||
pagination = render PhilomenaWeb.PaginationView, "_pagination.html", page: @commissions, route: route, conn: @conn, params: [commission: @conn.params[:commission]]
|
||||
|
||||
.block
|
||||
.block__header
|
||||
|
@ -43,11 +43,11 @@ elixir:
|
|||
p
|
||||
strong> Categories:
|
||||
= Enum.join(c.categories, ", ")
|
||||
|
||||
|
||||
p
|
||||
strong> Offers:
|
||||
= Enum.map(c.items, & &1.item_type) |> Enum.join(", ")
|
||||
|
||||
|
||||
p
|
||||
strong> Example Artwork:
|
||||
|
||||
|
|
Loading…
Reference in a new issue