mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-02-01 03:46:44 +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:
|
elixir:
|
||||||
route = fn p -> Routes.commission_path(@conn, :index, p) end
|
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
|
||||||
.block__header
|
.block__header
|
||||||
|
@ -43,11 +43,11 @@ elixir:
|
||||||
p
|
p
|
||||||
strong> Categories:
|
strong> Categories:
|
||||||
= Enum.join(c.categories, ", ")
|
= Enum.join(c.categories, ", ")
|
||||||
|
|
||||||
p
|
p
|
||||||
strong> Offers:
|
strong> Offers:
|
||||||
= Enum.map(c.items, & &1.item_type) |> Enum.join(", ")
|
= Enum.map(c.items, & &1.item_type) |> Enum.join(", ")
|
||||||
|
|
||||||
p
|
p
|
||||||
strong> Example Artwork:
|
strong> Example Artwork:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue