Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2018-11-07 16:09:42 +01:00
parent 0585b9e6d5
commit a9c06a9f35
2 changed files with 2 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ defmodule MobilizonWeb.Resolvers.Event do
"""
def search_events_and_actors(_parent, %{search: search, page: page, limit: limit}, _resolution) do
search = String.strip(search)
found =
case String.contains?(search, "@") do
true ->