enable autocorrect search for everyone
This commit is contained in:
@@ -39,10 +39,6 @@ module TagAutocomplete
|
|||||||
end
|
end
|
||||||
|
|
||||||
def search_correct(query, n=2)
|
def search_correct(query, n=2)
|
||||||
if CurrentUser.id != 1
|
|
||||||
return []
|
|
||||||
end
|
|
||||||
|
|
||||||
if query.size <= 3
|
if query.size <= 3
|
||||||
return []
|
return []
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user