From 0c9a31eeda25052322582026a81b5ffd62e68596 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sun, 8 Dec 2019 12:55:55 -0500 Subject: [PATCH] skip keyword merge --- lib/philomena_web/views/pagination_view.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)