Improve search

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2022-08-22 12:12:09 +02:00
parent 444e0d6a0c
commit baac00f678
36 changed files with 1343 additions and 1013 deletions

View File

@@ -11,7 +11,8 @@ export const SEARCH_EVENTS_AND_GROUPS = gql`
$tags: String
$term: String
$type: EventType
$category: String
$categoryOneOf: [String]
$statusOneOf: [EventStatus]
$beginsOn: DateTime
$endsOn: DateTime
$eventPage: Int
@@ -24,7 +25,8 @@ export const SEARCH_EVENTS_AND_GROUPS = gql`
tags: $tags
term: $term
type: $type
category: $category
categoryOneOf: $categoryOneOf
statusOneOf: $statusOneOf
beginsOn: $beginsOn
endsOn: $endsOn
page: $eventPage
@@ -156,9 +158,7 @@ export const SEARCH_GROUPS = gql`
query SearchGroups(
$location: String
$radius: Float
$tags: String
$term: String
$category: String
$groupPage: Int
$limit: Int
) {
@@ -188,8 +188,6 @@ export const SEARCH_GROUPS = gql`
}
}
}
${EVENT_OPTIONS_FRAGMENT}
${TAG_FRAGMENT}
${ADDRESS_FRAGMENT}
${ACTOR_FRAGMENT}
`;