mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
remove location from group fragment, remove search type from search string on search page
This commit is contained in:
parent
fc605a6d66
commit
e27f9b00e6
@ -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,
|
||||
}
|
||||
|
||||
@ -81,9 +81,6 @@ export const groupFragment = gql`
|
||||
icon
|
||||
}
|
||||
locationName
|
||||
location {
|
||||
name: name${lang}
|
||||
}
|
||||
myRole
|
||||
}
|
||||
`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user