diff --git a/lib/mobilizon/storage/page.ex b/lib/mobilizon/storage/page.ex index 9b094d4e8..6bdf90dc6 100644 --- a/lib/mobilizon/storage/page.ex +++ b/lib/mobilizon/storage/page.ex @@ -20,7 +20,7 @@ defmodule Mobilizon.Storage.Page do @doc """ Returns a Page struct for a query. - `field` is use to define the field that will be used for the count aggregate, which should be the same as the field used for order_by + `field` is used to define the field that will be used for the count aggregate, which should be the same as the field used for order_by See https://stackoverflow.com/q/12693089/10204399 """ @spec build_page(Ecto.Queryable.t(), integer | nil, integer | nil, atom()) :: t(any)