remove location from group fragment, remove search type from search string on search page

This commit is contained in:
Moriz Wahl 2022-10-23 01:18:58 +02:00
parent fc605a6d66
commit e27f9b00e6
2 changed files with 4 additions and 7 deletions

View File

@ -305,7 +305,7 @@ export default {
variables() {
const { firstHashtags, hashtagsOffset, search } = this
return {
query: search,
query: search.replace(/^([!@#&])/, ''),
firstHashtags,
hashtagsOffset,
}
@ -333,7 +333,7 @@ export default {
variables() {
const { firstUsers, usersOffset, search } = this
return {
query: search,
query: search.replace(/^([!@#&])/, ''),
firstUsers,
usersOffset,
}
@ -355,7 +355,7 @@ export default {
variables() {
const { firstPosts, postsOffset, search } = this
return {
query: search,
query: search.replace(/^([!@#&])/, ''),
firstPosts,
postsOffset,
}
@ -377,7 +377,7 @@ export default {
variables() {
const { firstGroups, groupsOffset, search } = this
return {
query: search,
query: search.replace(/^([!@#&])/, ''),
firstGroups,
groupsOffset,
}

View File

@ -81,9 +81,6 @@ export const groupFragment = gql`
icon
}
locationName
location {
name: name${lang}
}
myRole
}
`