diff options
Diffstat (limited to 'app/services/search_service.rb')
-rw-r--r-- | app/services/search_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/search_service.rb b/app/services/search_service.rb index 433e9b0da6d..3d413ed9f7b 100644 --- a/app/services/search_service.rb +++ b/app/services/search_service.rb @@ -44,6 +44,10 @@ class SearchService project.blank? && group.blank? end + def search_type + 'basic' + end + def show_snippets? strong_memoize(:show_snippets) do params[:snippets] == 'true' |