Defect #12349 ยป watcher_search.patch
| app/controllers/watchers_controller.rb | ||
|---|---|---|
| 64 | 64 |
end |
| 65 | 65 | |
| 66 | 66 |
def autocomplete_for_user |
| 67 |
@users = User.active.like(params[:q]).find(:all, :limit => 100) |
|
| 67 |
@users = User.active.like(params[:q].mb_chars.downcase).find(:all, :limit => 100)
|
|
| 68 | 68 |
if @watched |
| 69 | 69 |
@users -= @watched.watcher_users |
| 70 | 70 |
end |