summaryrefslogtreecommitdiff
path: root/app/services
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-23 14:38:20 -0800
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-01-23 14:38:20 -0800
commita42d84eca30956ca9255f93e6803efb43e1874cf (patch)
tree82aec7034fb2d15805c9ccca5ecc3603eb8afc2c /app/services
parent25a5c84820c273a2dd76baa600a095fecc7c526a (diff)
downloadgitlab-ce-a42d84eca30956ca9255f93e6803efb43e1874cf.tar.gz
Faster autocomplete without unused description
Diffstat (limited to 'app/services')
-rw-r--r--app/services/projects/autocomplete_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/projects/autocomplete_service.rb b/app/services/projects/autocomplete_service.rb
index 09fc25cc1b3..7408e09ed1e 100644
--- a/app/services/projects/autocomplete_service.rb
+++ b/app/services/projects/autocomplete_service.rb
@@ -5,11 +5,11 @@ module Projects
end
def issues
- @project.issues.opened.select([:iid, :title, :description])
+ @project.issues.opened.select([:iid, :title])
end
def merge_requests
- @project.merge_requests.opened.select([:iid, :title, :description])
+ @project.merge_requests.opened.select([:iid, :title])
end
end
end