Project

General

Profile

Patch #44190 » 0002-Limit-initial-mention-autocomplete-users.patch

Katsuya HIDAKA, 2026-06-18 11:48

View differences:

app/controllers/watchers_controller.rb
scope = nil
if params[:q].blank? && @project.present?
scope = @project.principals.assignable_watchers
scope = @project.principals.assignable_watchers.limit(100)
else
scope = Principal.assignable_watchers.limit(10)
end
(1-1/2)