From 0706fd5245034254a1e93f2033ca8c244a83ee97 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 9 Oct 2019 18:51:55 +0200 Subject: [PATCH] Add event search field on explore page and fix featured events Closes #195 and #196 Signed-off-by: Thomas Citharel --- js/src/graphql/search.ts | 3 ++ js/src/views/Event/Explore.vue | 62 +++++++++++++++++++++++++--------- 2 files changed, 49 insertions(+), 16 deletions(-) diff --git a/js/src/graphql/search.ts b/js/src/graphql/search.ts index 562a8eab1..56d53d50f 100644 --- a/js/src/graphql/search.ts +++ b/js/src/graphql/search.ts @@ -8,6 +8,9 @@ query SearchEvents($searchText: String!) { title, uuid, beginsOn, + picture { + url, + }, tags { slug, title diff --git a/js/src/views/Event/Explore.vue b/js/src/views/Event/Explore.vue index 4848f576f..909abd301 100644 --- a/js/src/views/Event/Explore.vue +++ b/js/src/views/Event/Explore.vue @@ -1,20 +1,33 @@ -