Removed link search in SearchService for now

• Removed:
- link search in SearchService for now until we can improve PreviewCard search_for query
This commit is contained in:
mgabdev 2020-11-05 16:08:17 -06:00
parent d6287056f0
commit 40627c6c3f

View File

@ -19,7 +19,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[:links] = perform_links_search! if !account.nil? results[:links] = [] # perform_links_search! if !account.nil?
results[:groups] = perform_groups_search! results[:groups] = perform_groups_search!
end end
end end