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() {
|
variables() {
|
||||||
const { firstHashtags, hashtagsOffset, search } = this
|
const { firstHashtags, hashtagsOffset, search } = this
|
||||||
return {
|
return {
|
||||||
query: search,
|
query: search.replace(/^([!@#&])/, ''),
|
||||||
firstHashtags,
|
firstHashtags,
|
||||||
hashtagsOffset,
|
hashtagsOffset,
|
||||||
}
|
}
|
||||||
@ -333,7 +333,7 @@ export default {
|
|||||||
variables() {
|
variables() {
|
||||||
const { firstUsers, usersOffset, search } = this
|
const { firstUsers, usersOffset, search } = this
|
||||||
return {
|
return {
|
||||||
query: search,
|
query: search.replace(/^([!@#&])/, ''),
|
||||||
firstUsers,
|
firstUsers,
|
||||||
usersOffset,
|
usersOffset,
|
||||||
}
|
}
|
||||||
@ -355,7 +355,7 @@ export default {
|
|||||||
variables() {
|
variables() {
|
||||||
const { firstPosts, postsOffset, search } = this
|
const { firstPosts, postsOffset, search } = this
|
||||||
return {
|
return {
|
||||||
query: search,
|
query: search.replace(/^([!@#&])/, ''),
|
||||||
firstPosts,
|
firstPosts,
|
||||||
postsOffset,
|
postsOffset,
|
||||||
}
|
}
|
||||||
@ -377,7 +377,7 @@ export default {
|
|||||||
variables() {
|
variables() {
|
||||||
const { firstGroups, groupsOffset, search } = this
|
const { firstGroups, groupsOffset, search } = this
|
||||||
return {
|
return {
|
||||||
query: search,
|
query: search.replace(/^([!@#&])/, ''),
|
||||||
firstGroups,
|
firstGroups,
|
||||||
groupsOffset,
|
groupsOffset,
|
||||||
}
|
}
|
||||||
|
|||||||
@ -81,9 +81,6 @@ export const groupFragment = gql`
|
|||||||
icon
|
icon
|
||||||
}
|
}
|
||||||
locationName
|
locationName
|
||||||
location {
|
|
||||||
name: name${lang}
|
|
||||||
}
|
|
||||||
myRole
|
myRole
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user