mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-18 00:56:41 +10:00
Faster autocomplete without unused description
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user