diff --git a/lib/philomena_web/views/pagination_view.ex b/lib/philomena_web/views/pagination_view.ex index 2a7c33a0..0fe44f25 100644 --- a/lib/philomena_web/views/pagination_view.ex +++ b/lib/philomena_web/views/pagination_view.ex @@ -10,7 +10,7 @@ defmodule PhilomenaWeb.PaginationView do end def page_path(route, params, number) do - route.(Keyword.merge(params, page: number)) + route.([{:page, number} | params]) end def first_page_path(_page, route, params), do: page_path(route, params, 1)