web: simplify link generation for search
This commit is contained in:
@@ -21,27 +21,11 @@ export default async function Page({
|
||||
results: search(query: $query) {
|
||||
__typename
|
||||
... on PageInterface {
|
||||
slug
|
||||
}
|
||||
... on NewsPage {
|
||||
id
|
||||
title
|
||||
}
|
||||
... on EventPage {
|
||||
id
|
||||
title
|
||||
}
|
||||
... on GenericPage {
|
||||
id
|
||||
title
|
||||
}
|
||||
... on VenuePage {
|
||||
id
|
||||
title
|
||||
url
|
||||
}
|
||||
... on AssociationPage {
|
||||
id
|
||||
title
|
||||
associationType
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user