mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2025-01-31 14:01:38 +00:00
14 lines
344 B
Elixir
14 lines
344 B
Elixir
|
defmodule MobilizonWeb.Resolvers.Search do
|
||
|
@moduledoc """
|
||
|
Handles the event-related GraphQL calls
|
||
|
"""
|
||
|
alias MobilizonWeb.API.Search
|
||
|
|
||
|
@doc """
|
||
|
Search events and actors by title
|
||
|
"""
|
||
|
def search_events_and_actors(_parent, %{search: search, page: page, limit: limit}, _resolution) do
|
||
|
Search.search(search, page, limit)
|
||
|
end
|
||
|
end
|