提交 a42d84ec 编写于 作者: D Dmitriy Zaporozhets

Faster autocomplete without unused description

上级 25a5c848
......@@ -119,7 +119,7 @@ class ProjectsController < ApplicationController
}
respond_to do |format|
format.json { render :json => @suggestions }
format.json { render json: @suggestions }
end
end
......
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册