mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-20 20:01:25 +00:00
respect & symbol in searches
This commit is contained in:
parent
522cd8ef9e
commit
61c2250c03
@ -223,8 +223,8 @@ export default {
|
||||
let userId = null
|
||||
if (context.user) userId = context.user.id
|
||||
|
||||
const searchType = query.replace(/^([!@#]?).*$/, '$1')
|
||||
const searchString = query.replace(/^([!@#])/, '')
|
||||
const searchType = query.replace(/^([!@#&]?).*$/, '$1')
|
||||
const searchString = query.replace(/^([!@#&])/, '')
|
||||
|
||||
const params = {
|
||||
query: queryString(searchString),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user