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
176 176

  
177 177
    scope = nil
178 178
    if params[:q].blank? && @project.present?
179
      scope = @project.principals.assignable_watchers
179
      scope = @project.principals.assignable_watchers.limit(100)
180 180
    else
181 181
      scope = Principal.assignable_watchers.limit(10)
182 182
    end
(1-1/2)