Allow to filter search by multiple tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -46,7 +46,7 @@ defmodule Mobilizon.GraphQL.Schema.SearchType do
|
||||
@desc "Search events"
|
||||
field :search_events, :events do
|
||||
arg(:term, :string, default_value: "")
|
||||
arg(:tag, :string)
|
||||
arg(:tags, :string, description: "A comma-separated string listing the tags")
|
||||
arg(:location, :string, description: "A geohash for coordinates")
|
||||
arg(:radius, :float, default_value: 50)
|
||||
arg(:page, :integer, default_value: 1)
|
||||
|
||||
Reference in New Issue
Block a user