diff options
| author | Douwe Maan <douwe@selenight.nl> | 2017-11-24 11:23:14 +0100 |
|---|---|---|
| committer | Douwe Maan <douwe@selenight.nl> | 2017-11-24 15:57:17 +0100 |
| commit | 8041a87288906e4b10b86a9a2ab9039036243a5d (patch) | |
| tree | ec018c0168531b233160cd67a2d46217272a936b /lib | |
| parent | 3dd5bedb54ce1bb150ab5304463c0a63d6e10ec9 (diff) | |
| download | gitlab-ce-8041a87288906e4b10b86a9a2ab9039036243a5d.tar.gz | |
Drastically improve project search performance by no longer searching namespace namedm-project-search-performance
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gitlab/search_results.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/search_results.rb b/lib/gitlab/search_results.rb index efe8095beea..fef9d3e31d4 100644 --- a/lib/gitlab/search_results.rb +++ b/lib/gitlab/search_results.rb @@ -30,7 +30,7 @@ module Gitlab def initialize(current_user, limit_projects, query) @current_user = current_user @limit_projects = limit_projects || Project.all - @query = Shellwords.shellescape(query) if query.present? + @query = query end def objects(scope, page = nil) |
