From da7982d2dd02301cf9d9498736140da1830464e0 Mon Sep 17 00:00:00 2001 From: Nebbie Zebbie Date: Tue, 10 Mar 2020 23:03:58 +0000 Subject: [PATCH] Preserve commission map parameter in commission search --- .../templates/commission/_directory_results.html.slime | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/philomena_web/templates/commission/_directory_results.html.slime b/lib/philomena_web/templates/commission/_directory_results.html.slime index 37e9abf7..1bbcd44a 100644 --- a/lib/philomena_web/templates/commission/_directory_results.html.slime +++ b/lib/philomena_web/templates/commission/_directory_results.html.slime @@ -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: