Preserve commission map parameter in commission search

This commit is contained in:
Nebbie Zebbie 2020-03-10 23:03:58 +00:00
parent 932eff86cd
commit da7982d2dd

View file

@ -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: