View Source Filterable.Ecto.Helpers (Filterable v0.7.5)
Contains macros which allow to define widely used filters.
use Filterable.Ecto.Helpers
Example:
defmodule PostFilters do
use Filterable.DSL
use Filterable.Ecto.Helpers
field :author
field :title
paginateable per_page: 10
orderable [:title, :inserted_at]
end