diff --git a/js/src/graphql/event.ts b/js/src/graphql/event.ts index 600ea4db2..4f1e82769 100644 --- a/js/src/graphql/event.ts +++ b/js/src/graphql/event.ts @@ -209,8 +209,18 @@ export const FETCH_EVENT_BASIC = gql` `; export const FETCH_EVENTS = gql` - query FetchEvents($orderBy: EventOrderBy, $direction: SortDirection) { - events(orderBy: $orderBy, direction: $direction) { + query FetchEvents( + $orderBy: EventOrderBy + $direction: SortDirection + $page: Int + $limit: Int + ) { + events( + orderBy: $orderBy + direction: $direction + page: $page + limit: $limit + ) { total elements { id @@ -246,14 +256,14 @@ export const FETCH_EVENTS = gql` domain name } - # attributedTo { - # avatar { - # id - # url - # }, - # preferredUsername, - # name, - # }, + attributedTo { + avatar { + id + url + } + preferredUsername + name + } category tags { ...TagFragment diff --git a/js/src/views/Search.vue b/js/src/views/Search.vue index 8866d4256..5dda05424 100644 --- a/js/src/views/Search.vue +++ b/js/src/views/Search.vue @@ -69,13 +69,27 @@ >

{{ $t("Featured events") }}

-
-
- +
+
+
+ +
+
+
-