diff --git a/.env.production.sample b/.env.production.sample index f4afcd729e..64b6e4979d 100644 --- a/.env.production.sample +++ b/.env.production.sample @@ -283,10 +283,10 @@ MAX_POLL_OPTION_CHARS=100 # Customize the number of hashtags shown in 'Explore' # MAX_TRENDING_TAGS=10 -# Search all visible toots -# (Normally searches only a user's own toots, favs, bookmarks, and mentions) +# Search all visible statuses +# (Normally searches only a user's own statuses, favs, bookmarks, and mentions) # Only relevant when elasticsearch is installed -# SEARCH_ALL_VISIBLE_TOOTS=true +# SEARCH_ALL_VISIBLE_STATUSES=true # Maximum custom emoji file sizes # If undefined or smaller than MAX_EMOJI_SIZE, the value diff --git a/app/services/search_service.rb b/app/services/search_service.rb index 158192bae1..f76ebceb61 100644 --- a/app/services/search_service.rb +++ b/app/services/search_service.rb @@ -2,7 +2,7 @@ class SearchService < BaseService - SEARCH_ALL_VISIBLE_TOOTS = ENV['SEARCH_ALL_VISIBLE_TOOTS'] == 'true' + SEARCH_ALL_VISIBLE_STATUSES = ENV['SEARCH_ALL_VISIBLE_STATUSES'] == 'true' def call(query, account, limit, options = {}) @query = query&.strip