Updated SearchService to return groups for everyone
• Updated: - SearchService to return groups for everyone even if not logged in
This commit is contained in:
parent
43207e8b29
commit
763466ab86
@ -18,7 +18,7 @@ class SearchService < BaseService
|
|||||||
results[:accounts] = perform_accounts_search! if account_searchable?
|
results[:accounts] = perform_accounts_search! if account_searchable?
|
||||||
results[:statuses] = perform_statuses_search! if full_text_searchable? && !account.nil?
|
results[:statuses] = perform_statuses_search! if full_text_searchable? && !account.nil?
|
||||||
results[:hashtags] = perform_hashtags_search! if hashtag_searchable? && !account.nil?
|
results[:hashtags] = perform_hashtags_search! if hashtag_searchable? && !account.nil?
|
||||||
results[:groups] = perform_groups_search! if !account.nil?
|
results[:groups] = perform_groups_search!
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user