diff --git a/webapp/components/_new/features/SearchResults/SearchResults.vue b/webapp/components/_new/features/SearchResults/SearchResults.vue index dadbd5aac..37d928311 100644 --- a/webapp/components/_new/features/SearchResults/SearchResults.vue +++ b/webapp/components/_new/features/SearchResults/SearchResults.vue @@ -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, } diff --git a/webapp/graphql/Fragments.js b/webapp/graphql/Fragments.js index 87d90fbfc..23d2c11d3 100644 --- a/webapp/graphql/Fragments.js +++ b/webapp/graphql/Fragments.js @@ -81,9 +81,6 @@ export const groupFragment = gql` icon } locationName - location { - name: name${lang} - } myRole } `