diff --git a/app/models/user.rb b/app/models/user.rb index c33f8009c..d9af1e158 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -465,11 +465,11 @@ class User < ActiveRecord::Base return q if params.blank? if params[:name] - q = q.name_matches(params[:name]) + q = q.name_matches(params[:name].downcase) end if params[:name_matches] - q = q.name_matches(params[:name_matches]) + q = q.name_matches(params[:name_matches].downcase) end if params[:min_level] diff --git a/config/danbooru_default_config.rb b/config/danbooru_default_config.rb index 2748aef6e..e27e09a2b 100644 --- a/config/danbooru_default_config.rb +++ b/config/danbooru_default_config.rb @@ -139,7 +139,7 @@ module Danbooru # Maximum size of an upload. def max_file_size - 5.megabytes + 10.megabytes end def member_comment_time_threshold