Project

General

Profile

Defect #12349 ยป watcher_search.patch

Alexander Oryol, 2012-11-12 16:02

View differences:

app/controllers/watchers_controller.rb
end
def autocomplete_for_user
@users = User.active.like(params[:q]).find(:all, :limit => 100)
@users = User.active.like(params[:q].mb_chars.downcase).find(:all, :limit => 100)
if @watched
@users -= @watched.watcher_users
end
    (1-1/1)